public static interface CreateSnapshotRequest.Builder extends FSxRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest.Builder |
clientRequestToken(String clientRequestToken)
Sets the value of the ClientRequestToken property for this object.
|
CreateSnapshotRequest.Builder |
name(String name)
The name of the snapshot.
|
CreateSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSnapshotRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateSnapshotRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
CreateSnapshotRequest.Builder |
volumeId(String volumeId)
The ID of the volume that you are taking a snapshot of.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotRequest.Builder clientRequestToken(String clientRequestToken)
clientRequestToken - The new value for the ClientRequestToken property for this object.CreateSnapshotRequest.Builder name(String name)
The name of the snapshot.
name - The name of the snapshot.CreateSnapshotRequest.Builder volumeId(String volumeId)
The ID of the volume that you are taking a snapshot of.
volumeId - The ID of the volume that you are taking a snapshot of.CreateSnapshotRequest.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.CreateSnapshotRequest.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.CreateSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.