Interface AwsEc2VolumeAttachment.Builder

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

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

    • attachTime

      AwsEc2VolumeAttachment.Builder attachTime(String attachTime)

      The datetime when the attachment initiated.

      Parameters:
      attachTime - The datetime when the attachment initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteOnTermination

      AwsEc2VolumeAttachment.Builder deleteOnTermination(Boolean deleteOnTermination)

      Whether the EBS volume is deleted when the EC2 instance is terminated.

      Parameters:
      deleteOnTermination - Whether the EBS volume is deleted when the EC2 instance is terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      AwsEc2VolumeAttachment.Builder instanceId(String instanceId)

      The identifier of the EC2 instance.

      Parameters:
      instanceId - The identifier of the EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The attachment state of the volume. Valid values are as follows:

      • attaching

      • attached

      • busy

      • detaching

      • detached

      Parameters:
      status - The attachment state of the volume. Valid values are as follows:

      • attaching

      • attached

      • busy

      • detaching

      • detached

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