Class EbsVolume

    • Constructor Detail

      • EbsVolume

        public EbsVolume()
    • Method Detail

      • setDevice

        public void setDevice​(String device)

        The device name that is exposed to the instance, such as /dev/sdh.

        Parameters:
        device - The device name that is exposed to the instance, such as /dev/sdh.
      • getDevice

        public String getDevice()

        The device name that is exposed to the instance, such as /dev/sdh.

        Returns:
        The device name that is exposed to the instance, such as /dev/sdh.
      • withDevice

        public EbsVolume withDevice​(String device)

        The device name that is exposed to the instance, such as /dev/sdh.

        Parameters:
        device - The device name that is exposed to the instance, such as /dev/sdh.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolumeId

        public void setVolumeId​(String volumeId)

        The volume identifier of the EBS volume.

        Parameters:
        volumeId - The volume identifier of the EBS volume.
      • getVolumeId

        public String getVolumeId()

        The volume identifier of the EBS volume.

        Returns:
        The volume identifier of the EBS volume.
      • withVolumeId

        public EbsVolume withVolumeId​(String volumeId)

        The volume identifier of the EBS volume.

        Parameters:
        volumeId - The volume identifier of the EBS volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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