public static class UpdateHsmClusterRequest.Builder extends Object implements BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateHsmClusterRequest.Builder |
body$(UpdateHsmClusterDetails body)
Alternative setter for the body parameter.
|
UpdateHsmClusterRequest |
build()
Build the instance of UpdateHsmClusterRequest as configured by this builder
|
UpdateHsmClusterRequest |
buildWithoutInvocationCallback()
Build the instance of UpdateHsmClusterRequest as configured by this builder
|
UpdateHsmClusterRequest.Builder |
copy(UpdateHsmClusterRequest o)
Copy method to populate the builder with values from the given instance.
|
UpdateHsmClusterRequest.Builder |
hsmClusterId(String hsmClusterId)
The OCID of the HSM Cluster.
|
UpdateHsmClusterRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
UpdateHsmClusterRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
UpdateHsmClusterRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
UpdateHsmClusterRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
UpdateHsmClusterRequest.Builder |
updateHsmClusterDetails(UpdateHsmClusterDetails updateHsmClusterDetails)
Details of the HsmCluster Resource
|
public UpdateHsmClusterRequest.Builder hsmClusterId(String hsmClusterId)
The OCID of the HSM Cluster. This is a unique identifier assigned to each hsmCluster.
hsmClusterId
- the value to setpublic UpdateHsmClusterRequest.Builder updateHsmClusterDetails(UpdateHsmClusterDetails updateHsmClusterDetails)
Details of the HsmCluster Resource
updateHsmClusterDetails
- the value to setpublic 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.
ifMatch
- the value to setpublic 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.
opcRequestId
- the value to setpublic UpdateHsmClusterRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic UpdateHsmClusterRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateHsmClusterRequest.Builder copy(UpdateHsmClusterRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
o
- other request from which to copy valuespublic UpdateHsmClusterRequest build()
Build the instance of UpdateHsmClusterRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
public UpdateHsmClusterRequest.Builder body$(UpdateHsmClusterDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateHsmClusterRequest,UpdateHsmClusterDetails>
body
- the body parameterpublic UpdateHsmClusterRequest buildWithoutInvocationCallback()
Build the instance of UpdateHsmClusterRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.