@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomAmi extends Object implements Serializable, Cloneable
A custom AMI available to platforms.
Constructor and Description |
---|
CustomAmi() |
Modifier and Type | Method and Description |
---|---|
CustomAmi |
clone() |
boolean |
equals(Object obj) |
String |
getImageId()
THe ID of the image used to create the custom AMI.
|
String |
getVirtualizationType()
The type of virtualization used to create the custom AMI.
|
int |
hashCode() |
void |
setImageId(String imageId)
THe ID of the image used to create the custom AMI.
|
void |
setVirtualizationType(String virtualizationType)
The type of virtualization used to create the custom AMI.
|
String |
toString()
Returns a string representation of this object.
|
CustomAmi |
withImageId(String imageId)
THe ID of the image used to create the custom AMI.
|
CustomAmi |
withVirtualizationType(String virtualizationType)
The type of virtualization used to create the custom AMI.
|
public void setVirtualizationType(String virtualizationType)
The type of virtualization used to create the custom AMI.
virtualizationType
- The type of virtualization used to create the custom AMI.public String getVirtualizationType()
The type of virtualization used to create the custom AMI.
public CustomAmi withVirtualizationType(String virtualizationType)
The type of virtualization used to create the custom AMI.
virtualizationType
- The type of virtualization used to create the custom AMI.public void setImageId(String imageId)
THe ID of the image used to create the custom AMI.
imageId
- THe ID of the image used to create the custom AMI.public String getImageId()
THe ID of the image used to create the custom AMI.
public CustomAmi withImageId(String imageId)
THe ID of the image used to create the custom AMI.
imageId
- THe ID of the image used to create the custom AMI.public String toString()
toString
in class Object
Object.toString()