Class UpdateBlueGreenDeploymentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.requests.UpdateBlueGreenDeploymentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateBlueGreenDeploymentRequest,UpdateBlueGreenDeploymentDetails>
- Enclosing class:
- UpdateBlueGreenDeploymentRequest
public static class UpdateBlueGreenDeploymentRequest.Builder extends Object implements BmcRequest.Builder<UpdateBlueGreenDeploymentRequest,UpdateBlueGreenDeploymentDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBlueGreenDeploymentRequest.BuilderblueGreenDeploymentId(String blueGreenDeploymentId)The OCID of the blue/green deployment.UpdateBlueGreenDeploymentRequest.Builderbody$(UpdateBlueGreenDeploymentDetails body)Alternative setter for the body parameter.UpdateBlueGreenDeploymentRequestbuild()Build the instance of UpdateBlueGreenDeploymentRequest as configured by this builderUpdateBlueGreenDeploymentRequestbuildWithoutInvocationCallback()Build the instance of UpdateBlueGreenDeploymentRequest as configured by this builderUpdateBlueGreenDeploymentRequest.Buildercopy(UpdateBlueGreenDeploymentRequest o)Copy method to populate the builder with values from the given instance.UpdateBlueGreenDeploymentRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateBlueGreenDeploymentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateBlueGreenDeploymentRequest.BuilderopcRequestId(String opcRequestId)Customer-defined unique identifier for the request.UpdateBlueGreenDeploymentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateBlueGreenDeploymentRequest.BuilderupdateBlueGreenDeploymentDetails(UpdateBlueGreenDeploymentDetails updateBlueGreenDeploymentDetails)Details for updating mutable metadata on a blue/green deployment.
-
-
-
Method Detail
-
blueGreenDeploymentId
public UpdateBlueGreenDeploymentRequest.Builder blueGreenDeploymentId(String blueGreenDeploymentId)
The OCID of the blue/green deployment.- Parameters:
blueGreenDeploymentId- the value to set- Returns:
- this builder instance
-
updateBlueGreenDeploymentDetails
public UpdateBlueGreenDeploymentRequest.Builder updateBlueGreenDeploymentDetails(UpdateBlueGreenDeploymentDetails updateBlueGreenDeploymentDetails)
Details for updating mutable metadata on a blue/green deployment.- Parameters:
updateBlueGreenDeploymentDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateBlueGreenDeploymentRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the If-Match header to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateBlueGreenDeploymentRequest.Builder opcRequestId(String opcRequestId)
Customer-defined unique identifier for the request.If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateBlueGreenDeploymentRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public UpdateBlueGreenDeploymentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public UpdateBlueGreenDeploymentRequest.Builder copy(UpdateBlueGreenDeploymentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateBlueGreenDeploymentRequest,UpdateBlueGreenDeploymentDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateBlueGreenDeploymentRequest build()
Build the instance of UpdateBlueGreenDeploymentRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<UpdateBlueGreenDeploymentRequest,UpdateBlueGreenDeploymentDetails>- Returns:
- instance of UpdateBlueGreenDeploymentRequest
-
body$
public UpdateBlueGreenDeploymentRequest.Builder body$(UpdateBlueGreenDeploymentDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateBlueGreenDeploymentRequest,UpdateBlueGreenDeploymentDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateBlueGreenDeploymentRequest buildWithoutInvocationCallback()
Build the instance of UpdateBlueGreenDeploymentRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of UpdateBlueGreenDeploymentRequest
-
-