Class CreateReplicationPolicyResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.CreateReplicationPolicyResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateReplicationPolicyResponse>
- Enclosing class:
- CreateReplicationPolicyResponse
public static class CreateReplicationPolicyResponse.Builder extends Object implements BmcResponse.Builder<CreateReplicationPolicyResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicationPolicyResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateReplicationPolicyResponsebuild()Build the response object.CreateReplicationPolicyResponse.Buildercopy(CreateReplicationPolicyResponse o)Copy method to populate the builder with values from the given instance.CreateReplicationPolicyResponse.Builderheaders(Map<String,List<String>> headers)CreateReplicationPolicyResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.CreateReplicationPolicyResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateReplicationPolicyResponse.BuilderreplicationPolicy(ReplicationPolicy replicationPolicy)The returned ReplicationPolicy 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 CreateReplicationPolicyResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateReplicationPolicyResponse>
-
headers
public CreateReplicationPolicyResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateReplicationPolicyResponse>
-
opcRequestId
public CreateReplicationPolicyResponse.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 CreateReplicationPolicyResponse.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
-
replicationPolicy
public CreateReplicationPolicyResponse.Builder replicationPolicy(ReplicationPolicy replicationPolicy)
The returned ReplicationPolicy instance.- Parameters:
replicationPolicy- the value to set- Returns:
- this builder
-
copy
public CreateReplicationPolicyResponse.Builder copy(CreateReplicationPolicyResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateReplicationPolicyResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateReplicationPolicyResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateReplicationPolicyResponse>- Returns:
- the response object
-
-