Class GetRetentionRuleResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.GetRetentionRuleResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetRetentionRuleResponse>
- Enclosing class:
- GetRetentionRuleResponse
public static class GetRetentionRuleResponse.Builder extends Object implements BmcResponse.Builder<GetRetentionRuleResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRetentionRuleResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
GetRetentionRuleResponse
build()
Build the response object.GetRetentionRuleResponse.Builder
copy(GetRetentionRuleResponse o)
Copy method to populate the builder with values from the given instance.GetRetentionRuleResponse.Builder
etag(String etag)
The entity tag (ETag) for the retention rule.GetRetentionRuleResponse.Builder
headers(Map<String,List<String>> headers)
GetRetentionRuleResponse.Builder
lastModified(Date lastModified)
The time the retention rule was last modified, as described in RFC 2616GetRetentionRuleResponse.Builder
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.GetRetentionRuleResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetRetentionRuleResponse.Builder
retentionRule(RetentionRule retentionRule)
The returned RetentionRule instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public GetRetentionRuleResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<GetRetentionRuleResponse>
-
headers
public GetRetentionRuleResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<GetRetentionRuleResponse>
-
opcClientRequestId
public GetRetentionRuleResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId
- the value to set- Returns:
- this builder
-
opcRequestId
public GetRetentionRuleResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
etag
public GetRetentionRuleResponse.Builder etag(String etag)
The entity tag (ETag) for the retention rule.- Parameters:
etag
- the value to set- Returns:
- this builder
-
lastModified
public GetRetentionRuleResponse.Builder lastModified(Date lastModified)
The time the retention rule was last modified, as described in RFC 2616- Parameters:
lastModified
- the value to set- Returns:
- this builder
-
retentionRule
public GetRetentionRuleResponse.Builder retentionRule(RetentionRule retentionRule)
The returned RetentionRule instance.- Parameters:
retentionRule
- the value to set- Returns:
- this builder
-
copy
public GetRetentionRuleResponse.Builder copy(GetRetentionRuleResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<GetRetentionRuleResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetRetentionRuleResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<GetRetentionRuleResponse>
- Returns:
- the response object
-
-