Interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder

    • Method Detail

      • deleteOnTermination

        AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder deleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether the EBS volume is deleted on instance termination.

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

        AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder encrypted​(Boolean encrypted)

        Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you're creating a volume from a snapshot, you can't specify an encryption value.

        Parameters:
        encrypted - Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you're creating a volume from a snapshot, you can't specify an encryption value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder kmsKeyId​(String kmsKeyId)

        The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.

        Parameters:
        kmsKeyId - The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • throughput

        AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder throughput​(Integer throughput)

        The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.

        Parameters:
        throughput - The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeSize

        AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.Builder volumeSize​(Integer volumeSize)

        The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.

        Parameters:
        volumeSize - The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.