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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRetentionRuleResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateRetentionRuleResponsebuild()Build the response object.CreateRetentionRuleResponse.Buildercopy(CreateRetentionRuleResponse o)Copy method to populate the builder with values from the given instance.CreateRetentionRuleResponse.Builderetag(String etag)The entity tag (ETag) for the retention rule that was created.CreateRetentionRuleResponse.Builderheaders(Map<String,List<String>> headers)CreateRetentionRuleResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.CreateRetentionRuleResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateRetentionRuleResponse.BuilderretentionRule(RetentionRule retentionRule)The returned RetentionRule instance.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateRetentionRuleResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateRetentionRuleResponse>
 
 - 
headerspublic CreateRetentionRuleResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateRetentionRuleResponse>
 
 - 
opcRequestIdpublic 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
 
 - 
opcClientRequestIdpublic 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
 
 - 
etagpublic 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
 
 - 
retentionRulepublic CreateRetentionRuleResponse.Builder retentionRule(RetentionRule retentionRule) The returned RetentionRule instance.- Parameters:
- retentionRule- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateRetentionRuleResponse.Builder copy(CreateRetentionRuleResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateRetentionRuleResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateRetentionRuleResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateRetentionRuleResponse>
- Returns:
- the response object
 
 
- 
 
-