Class UpdateHsmClusterRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.requests.UpdateHsmClusterRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
 - Enclosing class:
- UpdateHsmClusterRequest
 
 public static class UpdateHsmClusterRequest.Builder extends Object implements BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateHsmClusterRequest.Builderbody$(UpdateHsmClusterDetails body)Alternative setter for the body parameter.UpdateHsmClusterRequestbuild()Build the instance of UpdateHsmClusterRequest as configured by this builderUpdateHsmClusterRequestbuildWithoutInvocationCallback()Build the instance of UpdateHsmClusterRequest as configured by this builderUpdateHsmClusterRequest.Buildercopy(UpdateHsmClusterRequest o)Copy method to populate the builder with values from the given instance.UpdateHsmClusterRequest.BuilderhsmClusterId(String hsmClusterId)The OCID of the HSM Cluster.UpdateHsmClusterRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateHsmClusterRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateHsmClusterRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.UpdateHsmClusterRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateHsmClusterRequest.BuilderupdateHsmClusterDetails(UpdateHsmClusterDetails updateHsmClusterDetails)Details of the HsmCluster Resource
 
- 
- 
- 
Method Detail- 
hsmClusterIdpublic UpdateHsmClusterRequest.Builder hsmClusterId(String hsmClusterId) The OCID of the HSM Cluster.This is a unique identifier assigned to each hsmCluster. - Parameters:
- hsmClusterId- the value to set
- Returns:
- this builder instance
 
 - 
updateHsmClusterDetailspublic UpdateHsmClusterRequest.Builder updateHsmClusterDetails(UpdateHsmClusterDetails updateHsmClusterDetails) Details of the HsmCluster Resource- Parameters:
- updateHsmClusterDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateHsmClusterRequest.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
 
 - 
opcRequestIdpublic UpdateHsmClusterRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateHsmClusterRequest.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
 
 - 
retryConfigurationpublic UpdateHsmClusterRequest.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
 
 - 
copypublic UpdateHsmClusterRequest.Builder copy(UpdateHsmClusterRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateHsmClusterRequest build() Build the instance of UpdateHsmClusterRequest 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 interface- BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
- Returns:
- instance of UpdateHsmClusterRequest
 
 - 
body$public UpdateHsmClusterRequest.Builder body$(UpdateHsmClusterDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateHsmClusterRequest buildWithoutInvocationCallback() Build the instance of UpdateHsmClusterRequest 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 UpdateHsmClusterRequest
 
 
- 
 
-