Package com.amazonaws.services.ec2.model
Class CopyImageResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CopyImageResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CopyImageResult extends Object implements Serializable, Cloneable
Contains the output of CopyImage.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CopyImageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyImageResultclone()booleanequals(Object obj)StringgetImageId()The ID of the new AMI.inthashCode()voidsetImageId(String imageId)The ID of the new AMI.StringtoString()Returns a string representation of this object; useful for testing and debugging.CopyImageResultwithImageId(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 CopyImageResult 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CopyImageResult clone()
-
-