@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
InstanceDetails() |
Modifier and Type | Method and Description |
---|---|
InstanceDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The availability zone of the EC2 instance.
|
IamInstanceProfile |
getIamInstanceProfile() |
String |
getImageId()
The image ID of the EC2 instance.
|
String |
getInstanceId()
The ID of the EC2 instance.
|
String |
getInstanceState()
The state of the EC2 instance.
|
String |
getInstanceType()
The type of the EC2 instance.
|
String |
getLaunchTime()
The launch time of the EC2 instance.
|
List<NetworkInterface> |
getNetworkInterfaces()
The network interface information of the EC2 instance.
|
String |
getPlatform()
The platform of the EC2 instance.
|
List<ProductCode> |
getProductCodes()
The product code of the EC2 instance.
|
List<Tag> |
getTags()
The tags of the EC2 instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The availability zone of the EC2 instance.
|
void |
setIamInstanceProfile(IamInstanceProfile iamInstanceProfile) |
void |
setImageId(String imageId)
The image ID of the EC2 instance.
|
void |
setInstanceId(String instanceId)
The ID of the EC2 instance.
|
void |
setInstanceState(String instanceState)
The state of the EC2 instance.
|
void |
setInstanceType(String instanceType)
The type of the EC2 instance.
|
void |
setLaunchTime(String launchTime)
The launch time of the EC2 instance.
|
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface information of the EC2 instance.
|
void |
setPlatform(String platform)
The platform of the EC2 instance.
|
void |
setProductCodes(Collection<ProductCode> productCodes)
The product code of the EC2 instance.
|
void |
setTags(Collection<Tag> tags)
The tags of the EC2 instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceDetails |
withAvailabilityZone(String availabilityZone)
The availability zone of the EC2 instance.
|
InstanceDetails |
withIamInstanceProfile(IamInstanceProfile iamInstanceProfile) |
InstanceDetails |
withImageId(String imageId)
The image ID of the EC2 instance.
|
InstanceDetails |
withInstanceId(String instanceId)
The ID of the EC2 instance.
|
InstanceDetails |
withInstanceState(String instanceState)
The state of the EC2 instance.
|
InstanceDetails |
withInstanceType(String instanceType)
The type of the EC2 instance.
|
InstanceDetails |
withLaunchTime(String launchTime)
The launch time of the EC2 instance.
|
InstanceDetails |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface information of the EC2 instance.
|
InstanceDetails |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
The network interface information of the EC2 instance.
|
InstanceDetails |
withPlatform(String platform)
The platform of the EC2 instance.
|
InstanceDetails |
withProductCodes(Collection<ProductCode> productCodes)
The product code of the EC2 instance.
|
InstanceDetails |
withProductCodes(ProductCode... productCodes)
The product code of the EC2 instance.
|
InstanceDetails |
withTags(Collection<Tag> tags)
The tags of the EC2 instance.
|
InstanceDetails |
withTags(Tag... tags)
The tags of the EC2 instance.
|
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The availability zone of the EC2 instance.public String getAvailabilityZone()
public InstanceDetails withAvailabilityZone(String availabilityZone)
availabilityZone
- The availability zone of the EC2 instance.public void setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
iamInstanceProfile
- public IamInstanceProfile getIamInstanceProfile()
public InstanceDetails withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
iamInstanceProfile
- public void setImageId(String imageId)
imageId
- The image ID of the EC2 instance.public String getImageId()
public InstanceDetails withImageId(String imageId)
imageId
- The image ID of the EC2 instance.public void setInstanceId(String instanceId)
instanceId
- The ID of the EC2 instance.public String getInstanceId()
public InstanceDetails withInstanceId(String instanceId)
instanceId
- The ID of the EC2 instance.public void setInstanceState(String instanceState)
instanceState
- The state of the EC2 instance.public String getInstanceState()
public InstanceDetails withInstanceState(String instanceState)
instanceState
- The state of the EC2 instance.public void setInstanceType(String instanceType)
instanceType
- The type of the EC2 instance.public String getInstanceType()
public InstanceDetails withInstanceType(String instanceType)
instanceType
- The type of the EC2 instance.public void setLaunchTime(String launchTime)
launchTime
- The launch time of the EC2 instance.public String getLaunchTime()
public InstanceDetails withLaunchTime(String launchTime)
launchTime
- The launch time of the EC2 instance.public List<NetworkInterface> getNetworkInterfaces()
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
networkInterfaces
- The network interface information of the EC2 instance.public InstanceDetails withNetworkInterfaces(NetworkInterface... networkInterfaces)
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- The network interface information of the EC2 instance.public InstanceDetails withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
networkInterfaces
- The network interface information of the EC2 instance.public void setPlatform(String platform)
platform
- The platform of the EC2 instance.public String getPlatform()
public InstanceDetails withPlatform(String platform)
platform
- The platform of the EC2 instance.public List<ProductCode> getProductCodes()
public void setProductCodes(Collection<ProductCode> productCodes)
productCodes
- The product code of the EC2 instance.public InstanceDetails withProductCodes(ProductCode... productCodes)
NOTE: This method appends the values to the existing list (if any). Use
setProductCodes(java.util.Collection)
or withProductCodes(java.util.Collection)
if you want to
override the existing values.
productCodes
- The product code of the EC2 instance.public InstanceDetails withProductCodes(Collection<ProductCode> productCodes)
productCodes
- The product code of the EC2 instance.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The tags of the EC2 instance.public InstanceDetails withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags of the EC2 instance.public InstanceDetails withTags(Collection<Tag> tags)
tags
- The tags of the EC2 instance.public String toString()
toString
in class Object
Object.toString()
public InstanceDetails 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.