Class DiskImage

    • Constructor Detail

      • DiskImage

        public DiskImage()
    • Method Detail

      • setImage

        public void setImage​(DiskImageDetail image)

        Information about the disk image.

        Parameters:
        image - Information about the disk image.
      • getImage

        public DiskImageDetail getImage()

        Information about the disk image.

        Returns:
        Information about the disk image.
      • withImage

        public DiskImage withImage​(DiskImageDetail image)

        Information about the disk image.

        Parameters:
        image - Information about the disk image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A description of the disk image.

        Parameters:
        description - A description of the disk image.
      • getDescription

        public String getDescription()

        A description of the disk image.

        Returns:
        A description of the disk image.
      • withDescription

        public DiskImage withDescription​(String description)

        A description of the disk image.

        Parameters:
        description - A description of the disk image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolume

        public void setVolume​(VolumeDetail volume)

        Information about the volume.

        Parameters:
        volume - Information about the volume.
      • getVolume

        public VolumeDetail getVolume()

        Information about the volume.

        Returns:
        Information about the volume.
      • withVolume

        public DiskImage withVolume​(VolumeDetail volume)

        Information about the volume.

        Parameters:
        volume - Information about the 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