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 Details

    • 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

      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

      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

      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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      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, RestoreVolumeFromSnapshot fails.

      • 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, RestoreVolumeFromSnapshot fails.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      RestoreVolumeFromSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.