public static class GetReplicaResponse.Builder extends Object implements BmcResponse.Builder<GetReplicaResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetReplicaResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetReplicaResponse |
build()
Build the response object.
|
GetReplicaResponse.Builder |
copy(GetReplicaResponse o)
Copy method to populate the builder with values from the given instance.
|
GetReplicaResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
GetReplicaResponse.Builder |
headers(Map<String,List<String>> headers) |
GetReplicaResponse.Builder |
isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.
|
GetReplicaResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetReplicaResponse.Builder |
replica(Replica replica)
The returned Replica instance, or null if
GetReplicaResponse.isNotModified() is true. |
public GetReplicaResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetReplicaResponse>
public GetReplicaResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetReplicaResponse>
public GetReplicaResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic GetReplicaResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic GetReplicaResponse.Builder replica(Replica replica)
The returned Replica instance, or null if GetReplicaResponse.isNotModified()
is true.
replica
- the value to setpublic GetReplicaResponse.Builder isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified. If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
isNotModified
in interface BmcResponse.Builder<GetReplicaResponse>
true
- if the object was not modifiedpublic GetReplicaResponse.Builder copy(GetReplicaResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetReplicaResponse>
o
- other request from which to copy valuespublic GetReplicaResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetReplicaResponse>
Copyright © 2016–2024. All rights reserved.