Interface EbsInstanceBlockDevice.Builder

    • Method Detail

      • attachTime

        EbsInstanceBlockDevice.Builder attachTime​(Instant attachTime)

        The time stamp when the attachment initiated.

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

        EbsInstanceBlockDevice.Builder deleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether the volume is deleted on instance termination.

        Parameters:
        deleteOnTermination - Indicates whether the volume is deleted on instance termination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeId

        EbsInstanceBlockDevice.Builder volumeId​(String volumeId)

        The ID of the EBS volume.

        Parameters:
        volumeId - The ID of the EBS volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedResource

        EbsInstanceBlockDevice.Builder associatedResource​(String associatedResource)

        The ARN of the Amazon ECS or Fargate task to which the volume is attached.

        Parameters:
        associatedResource - The ARN of the Amazon ECS or Fargate task to which the volume is attached.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeOwnerId

        EbsInstanceBlockDevice.Builder volumeOwnerId​(String volumeOwnerId)

        The ID of the Amazon Web Services account that owns the volume.

        This parameter is returned only for volumes that are attached to Fargate tasks.

        Parameters:
        volumeOwnerId - The ID of the Amazon Web Services account that owns the volume.

        This parameter is returned only for volumes that are attached to Fargate tasks.

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