Class CreateImageResult

java.lang.Object
com.amazonaws.services.ec2.model.CreateImageResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateImageResult extends Object implements Serializable, Cloneable

Contains the output of CreateImage.

See Also:
  • Constructor Details

    • CreateImageResult

      public CreateImageResult()
  • Method Details

    • setImageId

      public void setImageId(String imageId)

      The ID of the new AMI.

      Parameters:
      imageId - The ID of the new AMI.
    • getImageId

      public String getImageId()

      The ID of the new AMI.

      Returns:
      The ID of the new AMI.
    • withImageId

      public CreateImageResult withImageId(String imageId)

      The ID of the new AMI.

      Parameters:
      imageId - The ID of the new AMI.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateImageResult clone()
      Overrides:
      clone in class Object