public static class UpdateMountTargetRequest.Builder extends Object implements BmcRequest.Builder<UpdateMountTargetRequest,UpdateMountTargetDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateMountTargetRequest.Builder |
body$(UpdateMountTargetDetails body)
Alternative setter for the body parameter.
|
UpdateMountTargetRequest |
build()
Build the instance of UpdateMountTargetRequest as configured by this builder
|
UpdateMountTargetRequest |
buildWithoutInvocationCallback()
Build the instance of UpdateMountTargetRequest as configured by this builder
|
UpdateMountTargetRequest.Builder |
copy(UpdateMountTargetRequest o)
Copy method to populate the builder with values from the given instance.
|
UpdateMountTargetRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
UpdateMountTargetRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
UpdateMountTargetRequest.Builder |
mountTargetId(String mountTargetId)
The OCID of the
mount target.
|
UpdateMountTargetRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
UpdateMountTargetRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
UpdateMountTargetRequest.Builder |
updateMountTargetDetails(UpdateMountTargetDetails updateMountTargetDetails)
Details object for updating a mount target.
|
public UpdateMountTargetRequest.Builder mountTargetId(String mountTargetId)
The OCID of the mount target.
mountTargetId
- the value to setpublic UpdateMountTargetRequest.Builder updateMountTargetDetails(UpdateMountTargetDetails updateMountTargetDetails)
Details object for updating a mount target.
updateMountTargetDetails
- the value to setpublic UpdateMountTargetRequest.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 UpdateMountTargetRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic UpdateMountTargetRequest.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 UpdateMountTargetRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateMountTargetRequest.Builder copy(UpdateMountTargetRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateMountTargetRequest,UpdateMountTargetDetails>
o
- other request from which to copy valuespublic UpdateMountTargetRequest build()
Build the instance of UpdateMountTargetRequest 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<UpdateMountTargetRequest,UpdateMountTargetDetails>
public UpdateMountTargetRequest.Builder body$(UpdateMountTargetDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateMountTargetRequest,UpdateMountTargetDetails>
body
- the body parameterpublic UpdateMountTargetRequest buildWithoutInvocationCallback()
Build the instance of UpdateMountTargetRequest 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.