Interface RestoreVolumeFromSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RestoreVolumeFromSnapshotRequest.Builder,RestoreVolumeFromSnapshotRequest>,FSxRequest.Builder,SdkBuilder<RestoreVolumeFromSnapshotRequest.Builder,RestoreVolumeFromSnapshotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RestoreVolumeFromSnapshotRequest
public static interface RestoreVolumeFromSnapshotRequest.Builder extends FSxRequest.Builder, SdkPojo, CopyableBuilder<RestoreVolumeFromSnapshotRequest.Builder,RestoreVolumeFromSnapshotRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
RestoreVolumeFromSnapshotRequest.Builder clientRequestToken(String 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
RestoreVolumeFromSnapshotRequest.Builder volumeId(String volumeId)
The ID of the volume that you are restoring.
- Parameters:
volumeId- The ID of the volume that you are restoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
RestoreVolumeFromSnapshotRequest.Builder snapshotId(String snapshotId)
The ID of the source snapshot. Specifies the snapshot that you are restoring from.
- Parameters:
snapshotId- The ID of the source snapshot. Specifies the snapshot that you are restoring from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionsWithStrings
RestoreVolumeFromSnapshotRequest.Builder optionsWithStrings(Collection<String> options)
The settings used when restoring the specified volume from snapshot.
-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
- Parameters:
options- The settings used when restoring the specified volume from snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
optionsWithStrings
RestoreVolumeFromSnapshotRequest.Builder optionsWithStrings(String... options)
The settings used when restoring the specified volume from snapshot.
-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
- Parameters:
options- The settings used when restoring the specified volume from snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
options
RestoreVolumeFromSnapshotRequest.Builder options(Collection<RestoreOpenZFSVolumeOption> options)
The settings used when restoring the specified volume from snapshot.
-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
- Parameters:
options- The settings used when restoring the specified volume from snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
options
RestoreVolumeFromSnapshotRequest.Builder options(RestoreOpenZFSVolumeOption... options)
The settings used when restoring the specified volume from snapshot.
-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
- Parameters:
options- The settings used when restoring the specified volume from snapshot.-
DELETE_INTERMEDIATE_SNAPSHOTS- Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used,RestoreVolumeFromSnapshotfails. -
DELETE_CLONED_VOLUMES- Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used,RestoreVolumeFromSnapshotfails.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
RestoreVolumeFromSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RestoreVolumeFromSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-