Package com.oracle.bmc.mysql.responses
Class GetBlueGreenDeploymentResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.responses.GetBlueGreenDeploymentResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetBlueGreenDeploymentResponse>
- Enclosing class:
- GetBlueGreenDeploymentResponse
public static class GetBlueGreenDeploymentResponse.Builder extends Object implements BmcResponse.Builder<GetBlueGreenDeploymentResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
__httpStatusCode__
public GetBlueGreenDeploymentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetBlueGreenDeploymentResponse>
-
headers
public GetBlueGreenDeploymentResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetBlueGreenDeploymentResponse>
-
etag
public GetBlueGreenDeploymentResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcRequestId
public GetBlueGreenDeploymentResponse.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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
blueGreenDeployment
public GetBlueGreenDeploymentResponse.Builder blueGreenDeployment(BlueGreenDeployment blueGreenDeployment)
The returned BlueGreenDeployment instance, or null ifGetBlueGreenDeploymentResponse.isNotModified()is true.- Parameters:
blueGreenDeployment- the value to set- Returns:
- this builder
-
isNotModified
public GetBlueGreenDeploymentResponse.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’).
- Specified by:
isNotModifiedin interfaceBmcResponse.Builder<GetBlueGreenDeploymentResponse>- Parameters:
true- if the object was not modified
-
copy
public GetBlueGreenDeploymentResponse.Builder copy(GetBlueGreenDeploymentResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetBlueGreenDeploymentResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetBlueGreenDeploymentResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetBlueGreenDeploymentResponse>- Returns:
- the response object
-
-