@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ami extends Object implements Serializable, Cloneable, StructuredPojo
Details of an EC2 AMI.
| Constructor and Description |
|---|
Ami() |
| Modifier and Type | Method and Description |
|---|---|
Ami |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the EC2 AMI.
|
String |
getImage()
The AMI ID of the EC2 AMI.
|
String |
getName()
The name of the EC2 AMI.
|
String |
getRegion()
The AWS Region of the EC2 AMI.
|
ImageState |
getState() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDescription(String description)
The description of the EC2 AMI.
|
void |
setImage(String image)
The AMI ID of the EC2 AMI.
|
void |
setName(String name)
The name of the EC2 AMI.
|
void |
setRegion(String region)
The AWS Region of the EC2 AMI.
|
void |
setState(ImageState state) |
String |
toString()
Returns a string representation of this object.
|
Ami |
withDescription(String description)
The description of the EC2 AMI.
|
Ami |
withImage(String image)
The AMI ID of the EC2 AMI.
|
Ami |
withName(String name)
The name of the EC2 AMI.
|
Ami |
withRegion(String region)
The AWS Region of the EC2 AMI.
|
Ami |
withState(ImageState state) |
public void setRegion(String region)
The AWS Region of the EC2 AMI.
region - The AWS Region of the EC2 AMI.public String getRegion()
The AWS Region of the EC2 AMI.
public Ami withRegion(String region)
The AWS Region of the EC2 AMI.
region - The AWS Region of the EC2 AMI.public void setImage(String image)
The AMI ID of the EC2 AMI.
image - The AMI ID of the EC2 AMI.public String getImage()
The AMI ID of the EC2 AMI.
public Ami withImage(String image)
The AMI ID of the EC2 AMI.
image - The AMI ID of the EC2 AMI.public void setName(String name)
The name of the EC2 AMI.
name - The name of the EC2 AMI.public String getName()
The name of the EC2 AMI.
public Ami withName(String name)
The name of the EC2 AMI.
name - The name of the EC2 AMI.public void setDescription(String description)
The description of the EC2 AMI.
description - The description of the EC2 AMI.public String getDescription()
The description of the EC2 AMI.
public Ami withDescription(String description)
The description of the EC2 AMI.
description - The description of the EC2 AMI.public void setState(ImageState state)
state - public ImageState getState()
public Ami withState(ImageState state)
state - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.