Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateImageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateImageResult
clone()
boolean
equals(Object obj)
String
getImageId()
The ID of the new AMI.int
hashCode()
void
setImageId(String imageId)
The ID of the new AMI.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateImageResult
withImageId(String imageId)
The ID of the new AMI.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateImageResult clone()
-
-