Interface InstanceSpecification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceSpecification.Builder,InstanceSpecification>, SdkBuilder<InstanceSpecification.Builder,InstanceSpecification>, SdkPojo
Enclosing class:
InstanceSpecification

public static interface InstanceSpecification.Builder extends SdkPojo, CopyableBuilder<InstanceSpecification.Builder,InstanceSpecification>
  • Method Details

    • instanceId

      InstanceSpecification.Builder instanceId(String instanceId)

      The instance to specify which volumes should be snapshotted.

      Parameters:
      instanceId - The instance to specify which volumes should be snapshotted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeBootVolume

      InstanceSpecification.Builder excludeBootVolume(Boolean excludeBootVolume)

      Excludes the root volume from being snapshotted.

      Parameters:
      excludeBootVolume - Excludes the root volume from being snapshotted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeDataVolumeIds

      InstanceSpecification.Builder excludeDataVolumeIds(Collection<String> excludeDataVolumeIds)

      The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

      You can specify up to 40 volume IDs per request.

      Parameters:
      excludeDataVolumeIds - The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

      You can specify up to 40 volume IDs per request.

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

      InstanceSpecification.Builder excludeDataVolumeIds(String... excludeDataVolumeIds)

      The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

      You can specify up to 40 volume IDs per request.

      Parameters:
      excludeDataVolumeIds - The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

      You can specify up to 40 volume IDs per request.

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