Interface VolumeConfiguration.Builder

    • Method Detail

      • mountPoint

        VolumeConfiguration.Builder mountPoint​(String mountPoint)

        The volume mount point. For example "/dev/sdh".

        Parameters:
        mountPoint - The volume mount point. For example "/dev/sdh".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfDisks

        VolumeConfiguration.Builder numberOfDisks​(Integer numberOfDisks)

        The number of disks in the volume.

        Parameters:
        numberOfDisks - The number of disks in the volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • size

        VolumeConfiguration.Builder size​(Integer size)

        The volume size.

        Parameters:
        size - The volume size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeType

        VolumeConfiguration.Builder volumeType​(String volumeType)

        The volume type. For more information, see Amazon EBS Volume Types.

        • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

        • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

        • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

        • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

        • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

        Parameters:
        volumeType - The volume type. For more information, see Amazon EBS Volume Types.

        • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

        • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

        • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

        • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

        • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

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

        VolumeConfiguration.Builder iops​(Integer iops)

        For PIOPS volumes, the IOPS per disk.

        Parameters:
        iops - For PIOPS volumes, the IOPS per disk.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encrypted

        VolumeConfiguration.Builder encrypted​(Boolean encrypted)

        Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

        Parameters:
        encrypted - Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.