@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompatibleImage extends Object implements Serializable, Cloneable, StructuredPojo
A JSON-formatted object that describes a compatible Amazon Machine Image (AMI). For more information on compatible AMIs, see Using Amazon EC2 Compute Instances in the AWS Snowball Developer Guide.
Constructor and Description |
---|
CompatibleImage() |
Modifier and Type | Method and Description |
---|---|
CompatibleImage |
clone() |
boolean |
equals(Object obj) |
String |
getAmiId()
The unique identifier for an individual Snowball Edge AMI.
|
String |
getName()
The optional name of a compatible image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmiId(String amiId)
The unique identifier for an individual Snowball Edge AMI.
|
void |
setName(String name)
The optional name of a compatible image.
|
String |
toString()
Returns a string representation of this object.
|
CompatibleImage |
withAmiId(String amiId)
The unique identifier for an individual Snowball Edge AMI.
|
CompatibleImage |
withName(String name)
The optional name of a compatible image.
|
public void setAmiId(String amiId)
The unique identifier for an individual Snowball Edge AMI.
amiId
- The unique identifier for an individual Snowball Edge AMI.public String getAmiId()
The unique identifier for an individual Snowball Edge AMI.
public CompatibleImage withAmiId(String amiId)
The unique identifier for an individual Snowball Edge AMI.
amiId
- The unique identifier for an individual Snowball Edge AMI.public void setName(String name)
The optional name of a compatible image.
name
- The optional name of a compatible image.public String getName()
The optional name of a compatible image.
public CompatibleImage withName(String name)
The optional name of a compatible image.
name
- The optional name of a compatible image.public String toString()
toString
in class Object
Object.toString()
public CompatibleImage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.