Interface AwsEc2VolumeAttachment.Builder

    • Method Detail

      • 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

        AwsEc2VolumeAttachment.Builder status​(String 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.