Class CreateRetentionRuleResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.CreateRetentionRuleResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateRetentionRuleResponse>
- Enclosing class:
- CreateRetentionRuleResponse
public static class CreateRetentionRuleResponse.Builder extends Object implements BmcResponse.Builder<CreateRetentionRuleResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRetentionRuleResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
CreateRetentionRuleResponse
build()
Build the response object.CreateRetentionRuleResponse.Builder
copy(CreateRetentionRuleResponse o)
Copy method to populate the builder with values from the given instance.CreateRetentionRuleResponse.Builder
etag(String etag)
The entity tag (ETag) for the retention rule that was created.CreateRetentionRuleResponse.Builder
headers(Map<String,List<String>> headers)
CreateRetentionRuleResponse.Builder
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.CreateRetentionRuleResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.CreateRetentionRuleResponse.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 CreateRetentionRuleResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<CreateRetentionRuleResponse>
-
headers
public CreateRetentionRuleResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<CreateRetentionRuleResponse>
-
opcRequestId
public CreateRetentionRuleResponse.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
-
opcClientRequestId
public CreateRetentionRuleResponse.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
-
etag
public CreateRetentionRuleResponse.Builder etag(String etag)
The entity tag (ETag) for the retention rule that was created.- Parameters:
etag
- the value to set- Returns:
- this builder
-
retentionRule
public CreateRetentionRuleResponse.Builder retentionRule(RetentionRule retentionRule)
The returned RetentionRule instance.- Parameters:
retentionRule
- the value to set- Returns:
- this builder
-
copy
public CreateRetentionRuleResponse.Builder copy(CreateRetentionRuleResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<CreateRetentionRuleResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateRetentionRuleResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<CreateRetentionRuleResponse>
- Returns:
- the response object
-
-