Class EbsBlockDevice

    • Constructor Detail

      • EbsBlockDevice

        public EbsBlockDevice()
    • Method Detail

      • setSnapshotId

        public void setSnapshotId​(String snapshotId)

        The snapshot ID.

        Parameters:
        snapshotId - The snapshot ID.
      • getSnapshotId

        public String getSnapshotId()

        The snapshot ID.

        Returns:
        The snapshot ID.
      • withSnapshotId

        public EbsBlockDevice withSnapshotId​(String snapshotId)

        The snapshot ID.

        Parameters:
        snapshotId - The snapshot ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIops

        public void setIops​(Integer iops)

        The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

        Parameters:
        iops - The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
      • getIops

        public Integer getIops()

        The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

        Returns:
        The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
      • withIops

        public EbsBlockDevice withIops​(Integer iops)

        The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

        Parameters:
        iops - The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolumeSize

        public void setVolumeSize​(Integer volumeSize)

        The volume size, in GiB. For more information, see EbsBlockDevice.

        Parameters:
        volumeSize - The volume size, in GiB. For more information, see EbsBlockDevice.
      • getVolumeSize

        public Integer getVolumeSize()

        The volume size, in GiB. For more information, see EbsBlockDevice.

        Returns:
        The volume size, in GiB. For more information, see EbsBlockDevice.
      • withVolumeSize

        public EbsBlockDevice withVolumeSize​(Integer volumeSize)

        The volume size, in GiB. For more information, see EbsBlockDevice.

        Parameters:
        volumeSize - The volume size, in GiB. For more information, see EbsBlockDevice.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolumeType

        public void setVolumeType​(String volumeType)

        The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.

        Parameters:
        volumeType - The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.
        See Also:
        VolumeType
      • getVolumeType

        public String getVolumeType()

        The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.

        Returns:
        The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.
        See Also:
        VolumeType
      • withVolumeType

        public EbsBlockDevice withVolumeType​(String volumeType)

        The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.

        Parameters:
        volumeType - The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VolumeType
      • setVolumeType

        public void setVolumeType​(VolumeType volumeType)

        The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.

        Parameters:
        volumeType - The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.
        See Also:
        VolumeType
      • withVolumeType

        public EbsBlockDevice withVolumeType​(VolumeType volumeType)

        The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.

        Parameters:
        volumeType - The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VolumeType
      • setDeleteOnTermination

        public void setDeleteOnTermination​(Boolean deleteOnTermination)

        Whether the volume is deleted on instance termination.

        Parameters:
        deleteOnTermination - Whether the volume is deleted on instance termination.
      • getDeleteOnTermination

        public Boolean getDeleteOnTermination()

        Whether the volume is deleted on instance termination.

        Returns:
        Whether the volume is deleted on instance termination.
      • withDeleteOnTermination

        public EbsBlockDevice withDeleteOnTermination​(Boolean deleteOnTermination)

        Whether the volume is deleted on instance termination.

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

        public Boolean isDeleteOnTermination()

        Whether the volume is deleted on instance termination.

        Returns:
        Whether the volume is deleted on instance termination.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object