Class UpdateSnapshotRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.requests.UpdateSnapshotRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateSnapshotRequest,UpdateSnapshotDetails>
 - Enclosing class:
- UpdateSnapshotRequest
 
 public static class UpdateSnapshotRequest.Builder extends Object implements BmcRequest.Builder<UpdateSnapshotRequest,UpdateSnapshotDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSnapshotRequest.Builderbody$(UpdateSnapshotDetails body)Alternative setter for the body parameter.UpdateSnapshotRequestbuild()Build the instance of UpdateSnapshotRequest as configured by this builderUpdateSnapshotRequestbuildWithoutInvocationCallback()Build the instance of UpdateSnapshotRequest as configured by this builderUpdateSnapshotRequest.Buildercopy(UpdateSnapshotRequest o)Copy method to populate the builder with values from the given instance.UpdateSnapshotRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateSnapshotRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateSnapshotRequest.BuilderisLockOverride(Boolean isLockOverride)Whether to override locks (if any exist).UpdateSnapshotRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.UpdateSnapshotRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateSnapshotRequest.BuildersnapshotId(String snapshotId)The OCID of the snapshot.UpdateSnapshotRequest.BuilderupdateSnapshotDetails(UpdateSnapshotDetails updateSnapshotDetails)Details object for updating a snapshot.
 
- 
- 
- 
Method Detail- 
snapshotIdpublic UpdateSnapshotRequest.Builder snapshotId(String snapshotId) The OCID of the snapshot.- Parameters:
- snapshotId- the value to set
- Returns:
- this builder instance
 
 - 
updateSnapshotDetailspublic UpdateSnapshotRequest.Builder updateSnapshotDetails(UpdateSnapshotDetails updateSnapshotDetails) Details object for updating a snapshot.- Parameters:
- updateSnapshotDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateSnapshotRequest.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 UpdateSnapshotRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
isLockOverridepublic UpdateSnapshotRequest.Builder isLockOverride(Boolean isLockOverride) Whether to override locks (if any exist).- Parameters:
- isLockOverride- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateSnapshotRequest.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 UpdateSnapshotRequest.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 UpdateSnapshotRequest.Builder copy(UpdateSnapshotRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateSnapshotRequest,UpdateSnapshotDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateSnapshotRequest build() Build the instance of UpdateSnapshotRequest 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<UpdateSnapshotRequest,UpdateSnapshotDetails>
- Returns:
- instance of UpdateSnapshotRequest
 
 - 
body$public UpdateSnapshotRequest.Builder body$(UpdateSnapshotDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateSnapshotRequest,UpdateSnapshotDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateSnapshotRequest buildWithoutInvocationCallback() Build the instance of UpdateSnapshotRequest 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 UpdateSnapshotRequest
 
 
- 
 
-