Class ImportVolumeRequest

    • Constructor Detail

      • ImportVolumeRequest

        public ImportVolumeRequest()
    • Method Detail

      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The Availability Zone for the resulting EBS volume.

        Parameters:
        availabilityZone - The Availability Zone for the resulting EBS volume.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone for the resulting EBS volume.

        Returns:
        The Availability Zone for the resulting EBS volume.
      • withAvailabilityZone

        public ImportVolumeRequest withAvailabilityZone​(String availabilityZone)

        The Availability Zone for the resulting EBS volume.

        Parameters:
        availabilityZone - The Availability Zone for the resulting EBS volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setImage

        public void setImage​(DiskImageDetail image)

        The disk image.

        Parameters:
        image - The disk image.
      • getImage

        public DiskImageDetail getImage()

        The disk image.

        Returns:
        The disk image.
      • withImage

        public ImportVolumeRequest withImage​(DiskImageDetail image)

        The disk image.

        Parameters:
        image - 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 volume.

        Parameters:
        description - A description of the volume.
      • getDescription

        public String getDescription()

        A description of the volume.

        Returns:
        A description of the volume.
      • withDescription

        public ImportVolumeRequest withDescription​(String description)

        A description of the volume.

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

        public void setVolume​(VolumeDetail volume)

        The volume size.

        Parameters:
        volume - The volume size.
      • getVolume

        public VolumeDetail getVolume()

        The volume size.

        Returns:
        The volume size.
      • withVolume

        public ImportVolumeRequest withVolume​(VolumeDetail volume)

        The volume size.

        Parameters:
        volume - The volume size.
        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