Class InstanceBlockDeviceMapping

    • Constructor Detail

      • InstanceBlockDeviceMapping

        public InstanceBlockDeviceMapping()
    • Method Detail

      • setDeviceName

        public void setDeviceName​(String deviceName)

        The device name exposed to the instance (for example, /dev/sdh or xvdh).

        Parameters:
        deviceName - The device name exposed to the instance (for example, /dev/sdh or xvdh).
      • getDeviceName

        public String getDeviceName()

        The device name exposed to the instance (for example, /dev/sdh or xvdh).

        Returns:
        The device name exposed to the instance (for example, /dev/sdh or xvdh).
      • withDeviceName

        public InstanceBlockDeviceMapping withDeviceName​(String deviceName)

        The device name exposed to the instance (for example, /dev/sdh or xvdh).

        Parameters:
        deviceName - The device name exposed to the instance (for example, /dev/sdh or xvdh).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEbs

        public void setEbs​(EbsInstanceBlockDevice ebs)

        Parameters used to automatically set up EBS volumes when the instance is launched.

        Parameters:
        ebs - Parameters used to automatically set up EBS volumes when the instance is launched.
      • getEbs

        public EbsInstanceBlockDevice getEbs()

        Parameters used to automatically set up EBS volumes when the instance is launched.

        Returns:
        Parameters used to automatically set up EBS volumes when the instance is launched.
      • withEbs

        public InstanceBlockDeviceMapping withEbs​(EbsInstanceBlockDevice ebs)

        Parameters used to automatically set up EBS volumes when the instance is launched.

        Parameters:
        ebs - Parameters used to automatically set up EBS volumes when the instance is launched.
        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