Class UpdateExternalClusterRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.UpdateExternalClusterRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateExternalClusterRequest,UpdateExternalClusterDetails>
- Enclosing class:
- UpdateExternalClusterRequest
public static class UpdateExternalClusterRequest.Builder extends Object implements BmcRequest.Builder<UpdateExternalClusterRequest,UpdateExternalClusterDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateExternalClusterRequest.Builderbody$(UpdateExternalClusterDetails body)Alternative setter for the body parameter.UpdateExternalClusterRequestbuild()Build the instance of UpdateExternalClusterRequest as configured by this builderUpdateExternalClusterRequestbuildWithoutInvocationCallback()Build the instance of UpdateExternalClusterRequest as configured by this builderUpdateExternalClusterRequest.Buildercopy(UpdateExternalClusterRequest o)Copy method to populate the builder with values from the given instance.UpdateExternalClusterRequest.BuilderexternalClusterId(String externalClusterId)The OCID of the external cluster.UpdateExternalClusterRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateExternalClusterRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateExternalClusterRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateExternalClusterRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateExternalClusterRequest.BuilderupdateExternalClusterDetails(UpdateExternalClusterDetails updateExternalClusterDetails)The details required to update an external cluster.
-
-
-
Method Detail
-
externalClusterId
public UpdateExternalClusterRequest.Builder externalClusterId(String externalClusterId)
The OCID of the external cluster.- Parameters:
externalClusterId- the value to set- Returns:
- this builder instance
-
updateExternalClusterDetails
public UpdateExternalClusterRequest.Builder updateExternalClusterDetails(UpdateExternalClusterDetails updateExternalClusterDetails)
The details required to update an external cluster.- Parameters:
updateExternalClusterDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateExternalClusterRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateExternalClusterRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter 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
-
invocationCallback
public UpdateExternalClusterRequest.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 UpdateExternalClusterRequest.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 UpdateExternalClusterRequest.Builder copy(UpdateExternalClusterRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateExternalClusterRequest,UpdateExternalClusterDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateExternalClusterRequest build()
Build the instance of UpdateExternalClusterRequest 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<UpdateExternalClusterRequest,UpdateExternalClusterDetails>- Returns:
- instance of UpdateExternalClusterRequest
-
body$
public UpdateExternalClusterRequest.Builder body$(UpdateExternalClusterDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateExternalClusterRequest,UpdateExternalClusterDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateExternalClusterRequest buildWithoutInvocationCallback()
Build the instance of UpdateExternalClusterRequest 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 UpdateExternalClusterRequest
-
-