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