Interface Volume.Builder

    • Method Detail

      • volumeId

        Volume.Builder volumeId​(String volumeId)

        The volume ID.

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

        Volume.Builder ec2VolumeId​(String ec2VolumeId)

        The Amazon EC2 volume ID.

        Parameters:
        ec2VolumeId - The Amazon EC2 volume ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Volume.Builder name​(String name)

        The volume name.

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

        Volume.Builder raidArrayId​(String raidArrayId)

        The RAID array ID.

        Parameters:
        raidArrayId - The RAID array ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        Volume.Builder instanceId​(String instanceId)

        The instance ID.

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

        Volume.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.
      • device

        Volume.Builder device​(String device)

        The device name.

        Parameters:
        device - The device name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mountPoint

        Volume.Builder mountPoint​(String mountPoint)

        The volume mount point. For example, "/mnt/disk1".

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

        Volume.Builder region​(String region)

        The AWS region. For more information about AWS regions, see Regions and Endpoints.

        Parameters:
        region - The AWS region. For more information about AWS regions, see Regions and Endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        Volume.Builder availabilityZone​(String availabilityZone)

        The volume Availability Zone. For more information, see Regions and Endpoints.

        Parameters:
        availabilityZone - The volume Availability Zone. For more information, see Regions and Endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeType

        Volume.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

        Volume.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

        Volume.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.