Interface UpdateSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSnapshotRequest.Builder,,UpdateSnapshotRequest> FSxRequest.Builder,SdkBuilder<UpdateSnapshotRequest.Builder,,UpdateSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSnapshotRequest
@Mutable
@NotThreadSafe
public static interface UpdateSnapshotRequest.Builder
extends FSxRequest.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotRequest.Builder,UpdateSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.The name of the snapshot to update.default UpdateSnapshotRequest.BuilderontapConfiguration(Consumer<UpdateOntapSnapshotConfiguration.Builder> ontapConfiguration) The configuration of the ONTAP snapshot that you are updating.ontapConfiguration(UpdateOntapSnapshotConfiguration ontapConfiguration) The configuration of the ONTAP snapshot that you are updating.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotId(String snapshotId) The ID of the snapshot that you want to update, in the formatfsvolsnap-0123456789abcdef0.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the snapshot to update.
- Parameters:
name- The name of the snapshot to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The ID of the snapshot that you want to update, in the format
fsvolsnap-0123456789abcdef0.- Parameters:
snapshotId- The ID of the snapshot that you want to update, in the formatfsvolsnap-0123456789abcdef0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
UpdateSnapshotRequest.Builder ontapConfiguration(UpdateOntapSnapshotConfiguration ontapConfiguration) The configuration of the ONTAP snapshot that you are updating.
- Parameters:
ontapConfiguration- The configuration of the ONTAP snapshot that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
default UpdateSnapshotRequest.Builder ontapConfiguration(Consumer<UpdateOntapSnapshotConfiguration.Builder> ontapConfiguration) The configuration of the ONTAP snapshot that you are updating.
This is a convenience method that creates an instance of theUpdateOntapSnapshotConfiguration.Builderavoiding the need to create one manually viaUpdateOntapSnapshotConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toontapConfiguration(UpdateOntapSnapshotConfiguration).- Parameters:
ontapConfiguration- a consumer that will call methods onUpdateOntapSnapshotConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-