Package com.amazonaws.services.ec2.model
Class RegisterImageResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.RegisterImageResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RegisterImageResult extends Object implements Serializable, Cloneable
Contains the output of RegisterImage.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisterImageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterImageResultclone()booleanequals(Object obj)StringgetImageId()The ID of the newly registered AMI.inthashCode()voidsetImageId(String imageId)The ID of the newly registered AMI.StringtoString()Returns a string representation of this object; useful for testing and debugging.RegisterImageResultwithImageId(String imageId)The ID of the newly registered AMI.
-
-
-
Method Detail
-
setImageId
public void setImageId(String imageId)
The ID of the newly registered AMI.
- Parameters:
imageId- The ID of the newly registered AMI.
-
getImageId
public String getImageId()
The ID of the newly registered AMI.
- Returns:
- The ID of the newly registered AMI.
-
withImageId
public RegisterImageResult withImageId(String imageId)
The ID of the newly registered AMI.
- Parameters:
imageId- The ID of the newly registered 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 RegisterImageResult clone()
-
-