Interface CopySnapshotAndUpdateVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CopySnapshotAndUpdateVolumeRequest.Builder,
,CopySnapshotAndUpdateVolumeRequest> FSxRequest.Builder
,SdkBuilder<CopySnapshotAndUpdateVolumeRequest.Builder,
,CopySnapshotAndUpdateVolumeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CopySnapshotAndUpdateVolumeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.copyStrategy
(String copyStrategy) Specifies the strategy to use when copying data from a snapshot to the volume.copyStrategy
(OpenZFSCopyStrategy copyStrategy) Specifies the strategy to use when copying data from a snapshot to the volume.options
(Collection<UpdateOpenZFSVolumeOption> options) Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.options
(UpdateOpenZFSVolumeOption... options) Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.optionsWithStrings
(String... options) Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.optionsWithStrings
(Collection<String> options) Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceSnapshotARN
(String sourceSnapshotARN) Sets the value of the SourceSnapshotARN property for this object.Specifies the ID of the volume that you are copying the snapshot to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
-
volumeId
Specifies the ID of the volume that you are copying the snapshot to.
- Parameters:
volumeId
- Specifies the ID of the volume that you are copying the snapshot to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSnapshotARN
Sets the value of the SourceSnapshotARN property for this object.- Parameters:
sourceSnapshotARN
- The new value for the SourceSnapshotARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyStrategy
Specifies the strategy to use when copying data from a snapshot to the volume.
-
FULL_COPY
- Copies all data from the snapshot to the volume. -
INCREMENTAL_COPY
- Copies only the snapshot data that's changed since the previous replication.
CLONE
isn't a valid copy strategy option for theCopySnapshotAndUpdateVolume
operation.- Parameters:
copyStrategy
- Specifies the strategy to use when copying data from a snapshot to the volume.-
FULL_COPY
- Copies all data from the snapshot to the volume. -
INCREMENTAL_COPY
- Copies only the snapshot data that's changed since the previous replication.
CLONE
isn't a valid copy strategy option for theCopySnapshotAndUpdateVolume
operation.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
copyStrategy
Specifies the strategy to use when copying data from a snapshot to the volume.
-
FULL_COPY
- Copies all data from the snapshot to the volume. -
INCREMENTAL_COPY
- Copies only the snapshot data that's changed since the previous replication.
CLONE
isn't a valid copy strategy option for theCopySnapshotAndUpdateVolume
operation.- Parameters:
copyStrategy
- Specifies the strategy to use when copying data from a snapshot to the volume.-
FULL_COPY
- Copies all data from the snapshot to the volume. -
INCREMENTAL_COPY
- Copies only the snapshot data that's changed since the previous replication.
CLONE
isn't a valid copy strategy option for theCopySnapshotAndUpdateVolume
operation.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
optionsWithStrings
Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.
Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
- Parameters:
options
- Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
optionsWithStrings
Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.
Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
- Parameters:
options
- Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
options
Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.
Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
- Parameters:
options
- Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
options
Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.
Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
- Parameters:
options
- Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include
DELETE_INTERMEDIATE_SNAPSHOTS
and there are intermediate snapshots on the destination, you can’t copy the snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots on the destination volume that aren’t on the source volume. -
DELETE_CLONED_VOLUMES
- Deletes snapshot clones on the destination volume that aren't on the source volume. -
DELETE_INTERMEDIATE_DATA
- Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
CopySnapshotAndUpdateVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CopySnapshotAndUpdateVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-