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 RegisterImageResult
clone()
boolean
equals(Object obj)
String
getImageId()
The ID of the newly registered AMI.int
hashCode()
void
setImageId(String imageId)
The ID of the newly registered AMI.String
toString()
Returns a string representation of this object; useful for testing and debugging.RegisterImageResult
withImageId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterImageResult clone()
-
-