|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.Instance
public class Instance
Represents an Amazon EC2 instance.
Constructor Summary | |
---|---|
Instance()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getAmiLaunchIndex()
The AMI launch index, which can be used to find this instance within the launch group. |
String |
getArchitecture()
The architecture of this instance. |
List<InstanceBlockDeviceMapping> |
getBlockDeviceMappings()
Block device mapping set. |
String |
getClientToken()
Returns the value of the ClientToken property for this object. |
Boolean |
getEbsOptimized()
Returns the value of the EbsOptimized property for this object. |
String |
getHypervisor()
Returns the value of the Hypervisor property for this object. |
IamInstanceProfile |
getIamInstanceProfile()
Returns the value of the IamInstanceProfile property for this object. |
String |
getImageId()
Image ID of the AMI used to launch the instance. |
String |
getInstanceId()
Unique ID of the instance launched. |
String |
getInstanceLifecycle()
|
String |
getInstanceType()
The instance type. |
String |
getKernelId()
Kernel associated with this instance. |
String |
getKeyName()
If this instance was launched with an associated key pair, this displays the key pair name. |
Date |
getLaunchTime()
The time this instance launched. |
InstanceLicense |
getLicense()
Represents an active license in use and attached to an Amazon EC2 instance. |
Monitoring |
getMonitoring()
Monitoring status for this instance. |
List<InstanceNetworkInterface> |
getNetworkInterfaces()
Returns the value of the NetworkInterfaces property for this object. |
Placement |
getPlacement()
The location where this instance launched. |
String |
getPlatform()
Platform of the instance (e.g., Windows). |
String |
getPrivateDnsName()
The private DNS name assigned to the instance. |
String |
getPrivateIpAddress()
Specifies the private IP address that is assigned to the instance (Amazon VPC). |
List<ProductCode> |
getProductCodes()
Product codes attached to this instance. |
String |
getPublicDnsName()
The public DNS name assigned to the instance. |
String |
getPublicIpAddress()
Specifies the IP address of the instance. |
String |
getRamdiskId()
RAM disk associated with this instance. |
String |
getRootDeviceName()
The root device name (e.g., /dev/sda1 ). |
String |
getRootDeviceType()
The root device type used by the AMI. |
List<GroupIdentifier> |
getSecurityGroups()
Returns the value of the SecurityGroups property for this object. |
Boolean |
getSourceDestCheck()
Returns the value of the SourceDestCheck property for this object. |
String |
getSpotInstanceRequestId()
|
InstanceState |
getState()
The current state of the instance. |
StateReason |
getStateReason()
The reason for the state change. |
String |
getStateTransitionReason()
Reason for the most recent state transition. |
String |
getSubnetId()
Specifies the Amazon VPC subnet ID in which the instance is running. |
List<Tag> |
getTags()
A list of tags for the Instance. |
String |
getVirtualizationType()
Returns the value of the VirtualizationType property for this object. |
String |
getVpcId()
Specifies the Amazon VPC in which the instance is running. |
int |
hashCode()
|
Boolean |
isEbsOptimized()
Returns the value of the EbsOptimized property for this object. |
Boolean |
isSourceDestCheck()
Returns the value of the SourceDestCheck property for this object. |
void |
setAmiLaunchIndex(Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance within the launch group. |
void |
setArchitecture(String architecture)
The architecture of this instance. |
void |
setBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Block device mapping set. |
void |
setClientToken(String clientToken)
Sets the value of the ClientToken property for this object. |
void |
setEbsOptimized(Boolean ebsOptimized)
Sets the value of the EbsOptimized property for this object. |
void |
setHypervisor(HypervisorType hypervisor)
Sets the value of the Hypervisor property for this object. |
void |
setHypervisor(String hypervisor)
Sets the value of the Hypervisor property for this object. |
void |
setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
Sets the value of the IamInstanceProfile property for this object. |
void |
setImageId(String imageId)
Image ID of the AMI used to launch the instance. |
void |
setInstanceId(String instanceId)
Unique ID of the instance launched. |
void |
setInstanceLifecycle(String instanceLifecycle)
|
void |
setInstanceType(InstanceType instanceType)
The instance type. |
void |
setInstanceType(String instanceType)
The instance type. |
void |
setKernelId(String kernelId)
Kernel associated with this instance. |
void |
setKeyName(String keyName)
If this instance was launched with an associated key pair, this displays the key pair name. |
void |
setLaunchTime(Date launchTime)
The time this instance launched. |
void |
setLicense(InstanceLicense license)
Represents an active license in use and attached to an Amazon EC2 instance. |
void |
setMonitoring(Monitoring monitoring)
Monitoring status for this instance. |
void |
setNetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
Sets the value of the NetworkInterfaces property for this object. |
void |
setPlacement(Placement placement)
The location where this instance launched. |
void |
setPlatform(String platform)
Platform of the instance (e.g., Windows). |
void |
setPrivateDnsName(String privateDnsName)
The private DNS name assigned to the instance. |
void |
setPrivateIpAddress(String privateIpAddress)
Specifies the private IP address that is assigned to the instance (Amazon VPC). |
void |
setProductCodes(Collection<ProductCode> productCodes)
Product codes attached to this instance. |
void |
setPublicDnsName(String publicDnsName)
The public DNS name assigned to the instance. |
void |
setPublicIpAddress(String publicIpAddress)
Specifies the IP address of the instance. |
void |
setRamdiskId(String ramdiskId)
RAM disk associated with this instance. |
void |
setRootDeviceName(String rootDeviceName)
The root device name (e.g., /dev/sda1 ). |
void |
setRootDeviceType(String rootDeviceType)
The root device type used by the AMI. |
void |
setSecurityGroups(Collection<GroupIdentifier> securityGroups)
Sets the value of the SecurityGroups property for this object. |
void |
setSourceDestCheck(Boolean sourceDestCheck)
Sets the value of the SourceDestCheck property for this object. |
void |
setSpotInstanceRequestId(String spotInstanceRequestId)
|
void |
setState(InstanceState state)
The current state of the instance. |
void |
setStateReason(StateReason stateReason)
The reason for the state change. |
void |
setStateTransitionReason(String stateTransitionReason)
Reason for the most recent state transition. |
void |
setSubnetId(String subnetId)
Specifies the Amazon VPC subnet ID in which the instance is running. |
void |
setTags(Collection<Tag> tags)
A list of tags for the Instance. |
void |
setVirtualizationType(String virtualizationType)
Sets the value of the VirtualizationType property for this object. |
void |
setVirtualizationType(VirtualizationType virtualizationType)
Sets the value of the VirtualizationType property for this object. |
void |
setVpcId(String vpcId)
Specifies the Amazon VPC in which the instance is running. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Instance |
withAmiLaunchIndex(Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance within the launch group. |
Instance |
withArchitecture(String architecture)
The architecture of this instance. |
Instance |
withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Block device mapping set. |
Instance |
withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Block device mapping set. |
Instance |
withClientToken(String clientToken)
Sets the value of the ClientToken property for this object. |
Instance |
withEbsOptimized(Boolean ebsOptimized)
Sets the value of the EbsOptimized property for this object. |
Instance |
withHypervisor(HypervisorType hypervisor)
Sets the value of the Hypervisor property for this object. |
Instance |
withHypervisor(String hypervisor)
Sets the value of the Hypervisor property for this object. |
Instance |
withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
Sets the value of the IamInstanceProfile property for this object. |
Instance |
withImageId(String imageId)
Image ID of the AMI used to launch the instance. |
Instance |
withInstanceId(String instanceId)
Unique ID of the instance launched. |
Instance |
withInstanceLifecycle(String instanceLifecycle)
Returns a reference to this object so that method calls can be chained together. |
Instance |
withInstanceType(InstanceType instanceType)
The instance type. |
Instance |
withInstanceType(String instanceType)
The instance type. |
Instance |
withKernelId(String kernelId)
Kernel associated with this instance. |
Instance |
withKeyName(String keyName)
If this instance was launched with an associated key pair, this displays the key pair name. |
Instance |
withLaunchTime(Date launchTime)
The time this instance launched. |
Instance |
withLicense(InstanceLicense license)
Represents an active license in use and attached to an Amazon EC2 instance. |
Instance |
withMonitoring(Monitoring monitoring)
Monitoring status for this instance. |
Instance |
withNetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
Sets the value of the NetworkInterfaces property for this object. |
Instance |
withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)
Sets the value of the NetworkInterfaces property for this object. |
Instance |
withPlacement(Placement placement)
The location where this instance launched. |
Instance |
withPlatform(String platform)
Platform of the instance (e.g., Windows). |
Instance |
withPrivateDnsName(String privateDnsName)
The private DNS name assigned to the instance. |
Instance |
withPrivateIpAddress(String privateIpAddress)
Specifies the private IP address that is assigned to the instance (Amazon VPC). |
Instance |
withProductCodes(Collection<ProductCode> productCodes)
Product codes attached to this instance. |
Instance |
withProductCodes(ProductCode... productCodes)
Product codes attached to this instance. |
Instance |
withPublicDnsName(String publicDnsName)
The public DNS name assigned to the instance. |
Instance |
withPublicIpAddress(String publicIpAddress)
Specifies the IP address of the instance. |
Instance |
withRamdiskId(String ramdiskId)
RAM disk associated with this instance. |
Instance |
withRootDeviceName(String rootDeviceName)
The root device name (e.g., /dev/sda1 ). |
Instance |
withRootDeviceType(String rootDeviceType)
The root device type used by the AMI. |
Instance |
withSecurityGroups(Collection<GroupIdentifier> securityGroups)
Sets the value of the SecurityGroups property for this object. |
Instance |
withSecurityGroups(GroupIdentifier... securityGroups)
Sets the value of the SecurityGroups property for this object. |
Instance |
withSourceDestCheck(Boolean sourceDestCheck)
Sets the value of the SourceDestCheck property for this object. |
Instance |
withSpotInstanceRequestId(String spotInstanceRequestId)
Returns a reference to this object so that method calls can be chained together. |
Instance |
withState(InstanceState state)
The current state of the instance. |
Instance |
withStateReason(StateReason stateReason)
The reason for the state change. |
Instance |
withStateTransitionReason(String stateTransitionReason)
Reason for the most recent state transition. |
Instance |
withSubnetId(String subnetId)
Specifies the Amazon VPC subnet ID in which the instance is running. |
Instance |
withTags(Collection<Tag> tags)
A list of tags for the Instance. |
Instance |
withTags(Tag... tags)
A list of tags for the Instance. |
Instance |
withVirtualizationType(String virtualizationType)
Sets the value of the VirtualizationType property for this object. |
Instance |
withVirtualizationType(VirtualizationType virtualizationType)
Sets the value of the VirtualizationType property for this object. |
Instance |
withVpcId(String vpcId)
Specifies the Amazon VPC in which the instance is running. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Instance()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- Unique ID of the instance launched.public Instance withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- Unique ID of the instance launched.
public String getImageId()
public void setImageId(String imageId)
imageId
- Image ID of the AMI used to launch the instance.public Instance withImageId(String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId
- Image ID of the AMI used to launch the instance.
public InstanceState getState()
public void setState(InstanceState state)
state
- The current state of the instance.public Instance withState(InstanceState state)
Returns a reference to this object so that method calls can be chained together.
state
- The current state of the instance.
public String getPrivateDnsName()
public void setPrivateDnsName(String privateDnsName)
privateDnsName
- The private DNS name assigned to the instance. This DNS name can only
be used inside the Amazon EC2 network. This element remains empty
until the instance enters a running state.public Instance withPrivateDnsName(String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The private DNS name assigned to the instance. This DNS name can only
be used inside the Amazon EC2 network. This element remains empty
until the instance enters a running state.
public String getPublicDnsName()
public void setPublicDnsName(String publicDnsName)
publicDnsName
- The public DNS name assigned to the instance. This DNS name is
contactable from outside the Amazon EC2 network. This element remains
empty until the instance enters a running state.public Instance withPublicDnsName(String publicDnsName)
Returns a reference to this object so that method calls can be chained together.
publicDnsName
- The public DNS name assigned to the instance. This DNS name is
contactable from outside the Amazon EC2 network. This element remains
empty until the instance enters a running state.
public String getStateTransitionReason()
public void setStateTransitionReason(String stateTransitionReason)
stateTransitionReason
- Reason for the most recent state transition. This might be an empty
string.public Instance withStateTransitionReason(String stateTransitionReason)
Returns a reference to this object so that method calls can be chained together.
stateTransitionReason
- Reason for the most recent state transition. This might be an empty
string.
public String getKeyName()
public void setKeyName(String keyName)
keyName
- If this instance was launched with an associated key pair, this
displays the key pair name.public Instance withKeyName(String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName
- If this instance was launched with an associated key pair, this
displays the key pair name.
public Integer getAmiLaunchIndex()
public void setAmiLaunchIndex(Integer amiLaunchIndex)
amiLaunchIndex
- The AMI launch index, which can be used to find this instance within
the launch group.public Instance withAmiLaunchIndex(Integer amiLaunchIndex)
Returns a reference to this object so that method calls can be chained together.
amiLaunchIndex
- The AMI launch index, which can be used to find this instance within
the launch group.
public List<ProductCode> getProductCodes()
public void setProductCodes(Collection<ProductCode> productCodes)
productCodes
- Product codes attached to this instance.public Instance withProductCodes(ProductCode... productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- Product codes attached to this instance.
public Instance withProductCodes(Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- Product codes attached to this instance.
public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type. For more information on instance types, please see
the
Amazon Elastic Compute Cloud Developer Guide.InstanceType
public Instance withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type. For more information on instance types, please see
the
Amazon Elastic Compute Cloud Developer Guide.
InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type. For more information on instance types, please see
the
Amazon Elastic Compute Cloud Developer Guide.InstanceType
public Instance withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- The instance type. For more information on instance types, please see
the
Amazon Elastic Compute Cloud Developer Guide.
InstanceType
public Date getLaunchTime()
public void setLaunchTime(Date launchTime)
launchTime
- The time this instance launched.public Instance withLaunchTime(Date launchTime)
Returns a reference to this object so that method calls can be chained together.
launchTime
- The time this instance launched.
public Placement getPlacement()
public void setPlacement(Placement placement)
placement
- The location where this instance launched.public Instance withPlacement(Placement placement)
Returns a reference to this object so that method calls can be chained together.
placement
- The location where this instance launched.
public String getKernelId()
public void setKernelId(String kernelId)
kernelId
- Kernel associated with this instance.public Instance withKernelId(String kernelId)
Returns a reference to this object so that method calls can be chained together.
kernelId
- Kernel associated with this instance.
public String getRamdiskId()
public void setRamdiskId(String ramdiskId)
ramdiskId
- RAM disk associated with this instance.public Instance withRamdiskId(String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
ramdiskId
- RAM disk associated with this instance.
public String getPlatform()
public void setPlatform(String platform)
platform
- Platform of the instance (e.g., Windows).public Instance withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform
- Platform of the instance (e.g., Windows).
public Monitoring getMonitoring()
public void setMonitoring(Monitoring monitoring)
monitoring
- Monitoring status for this instance.public Instance withMonitoring(Monitoring monitoring)
Returns a reference to this object so that method calls can be chained together.
monitoring
- Monitoring status for this instance.
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- Specifies the Amazon VPC subnet ID in which the instance is running.public Instance withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- Specifies the Amazon VPC subnet ID in which the instance is running.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- Specifies the Amazon VPC in which the instance is running.public Instance withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- Specifies the Amazon VPC in which the instance is running.
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- Specifies the private IP address that is assigned to the instance
(Amazon VPC).public Instance withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- Specifies the private IP address that is assigned to the instance
(Amazon VPC).
public String getPublicIpAddress()
public void setPublicIpAddress(String publicIpAddress)
publicIpAddress
- Specifies the IP address of the instance.public Instance withPublicIpAddress(String publicIpAddress)
Returns a reference to this object so that method calls can be chained together.
publicIpAddress
- Specifies the IP address of the instance.
public StateReason getStateReason()
public void setStateReason(StateReason stateReason)
stateReason
- The reason for the state change.public Instance withStateReason(StateReason stateReason)
Returns a reference to this object so that method calls can be chained together.
stateReason
- The reason for the state change.
public String getArchitecture()
public void setArchitecture(String architecture)
architecture
- The architecture of this instance.public Instance withArchitecture(String architecture)
Returns a reference to this object so that method calls can be chained together.
architecture
- The architecture of this instance.
public String getRootDeviceType()
public void setRootDeviceType(String rootDeviceType)
rootDeviceType
- The root device type used by the AMI. The AMI can use an Amazon EBS or
instance store root device.public Instance withRootDeviceType(String rootDeviceType)
Returns a reference to this object so that method calls can be chained together.
rootDeviceType
- The root device type used by the AMI. The AMI can use an Amazon EBS or
instance store root device.
public String getRootDeviceName()
/dev/sda1
).
/dev/sda1
).public void setRootDeviceName(String rootDeviceName)
/dev/sda1
).
rootDeviceName
- The root device name (e.g., /dev/sda1
).public Instance withRootDeviceName(String rootDeviceName)
/dev/sda1
).
Returns a reference to this object so that method calls can be chained together.
rootDeviceName
- The root device name (e.g., /dev/sda1
).
public List<InstanceBlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
blockDeviceMappings
- Block device mapping set.public Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Block device mapping set.
public Instance withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Block device mapping set.
public String getVirtualizationType()
Constraints:
Allowed Values: hvm, paravirtual
VirtualizationType
public void setVirtualizationType(String virtualizationType)
Constraints:
Allowed Values: hvm, paravirtual
virtualizationType
- The new value for the VirtualizationType property for this object.VirtualizationType
public Instance withVirtualizationType(String virtualizationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: hvm, paravirtual
virtualizationType
- The new value for the VirtualizationType property for this object.
VirtualizationType
public void setVirtualizationType(VirtualizationType virtualizationType)
Constraints:
Allowed Values: hvm, paravirtual
virtualizationType
- The new value for the VirtualizationType property for this object.VirtualizationType
public Instance withVirtualizationType(VirtualizationType virtualizationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: hvm, paravirtual
virtualizationType
- The new value for the VirtualizationType property for this object.
VirtualizationType
public String getInstanceLifecycle()
public void setInstanceLifecycle(String instanceLifecycle)
instanceLifecycle
- public Instance withInstanceLifecycle(String instanceLifecycle)
Returns a reference to this object so that method calls can be chained together.
instanceLifecycle
-
public String getSpotInstanceRequestId()
public void setSpotInstanceRequestId(String spotInstanceRequestId)
spotInstanceRequestId
- public Instance withSpotInstanceRequestId(String spotInstanceRequestId)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequestId
-
public InstanceLicense getLicense()
public void setLicense(InstanceLicense license)
license
- Represents an active license in use and attached to an Amazon EC2
instance.public Instance withLicense(InstanceLicense license)
Returns a reference to this object so that method calls can be chained together.
license
- Represents an active license in use and attached to an Amazon EC2
instance.
public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- The new value for the ClientToken property for this object.public Instance withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- The new value for the ClientToken property for this object.
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags for the Instance.public Instance withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the Instance.
public Instance withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the Instance.
public List<GroupIdentifier> getSecurityGroups()
public void setSecurityGroups(Collection<GroupIdentifier> securityGroups)
securityGroups
- The new value for the SecurityGroups property for this object.public Instance withSecurityGroups(GroupIdentifier... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The new value for the SecurityGroups property for this object.
public Instance withSecurityGroups(Collection<GroupIdentifier> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The new value for the SecurityGroups property for this object.
public Boolean isSourceDestCheck()
public void setSourceDestCheck(Boolean sourceDestCheck)
sourceDestCheck
- The new value for the SourceDestCheck property for this object.public Instance withSourceDestCheck(Boolean sourceDestCheck)
Returns a reference to this object so that method calls can be chained together.
sourceDestCheck
- The new value for the SourceDestCheck property for this object.
public Boolean getSourceDestCheck()
public String getHypervisor()
Constraints:
Allowed Values: ovm, xen
HypervisorType
public void setHypervisor(String hypervisor)
Constraints:
Allowed Values: ovm, xen
hypervisor
- The new value for the Hypervisor property for this object.HypervisorType
public Instance withHypervisor(String hypervisor)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ovm, xen
hypervisor
- The new value for the Hypervisor property for this object.
HypervisorType
public void setHypervisor(HypervisorType hypervisor)
Constraints:
Allowed Values: ovm, xen
hypervisor
- The new value for the Hypervisor property for this object.HypervisorType
public Instance withHypervisor(HypervisorType hypervisor)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ovm, xen
hypervisor
- The new value for the Hypervisor property for this object.
HypervisorType
public List<InstanceNetworkInterface> getNetworkInterfaces()
public void setNetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
networkInterfaces
- The new value for the NetworkInterfaces property for this object.public Instance withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)
Returns a reference to this object so that method calls can be chained together.
networkInterfaces
- The new value for the NetworkInterfaces property for this object.
public Instance withNetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
Returns a reference to this object so that method calls can be chained together.
networkInterfaces
- The new value for the NetworkInterfaces property for this object.
public IamInstanceProfile getIamInstanceProfile()
public void setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
iamInstanceProfile
- The new value for the IamInstanceProfile property for this object.public Instance withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
Returns a reference to this object so that method calls can be chained together.
iamInstanceProfile
- The new value for the IamInstanceProfile property for this object.
public Boolean isEbsOptimized()
public void setEbsOptimized(Boolean ebsOptimized)
ebsOptimized
- The new value for the EbsOptimized property for this object.public Instance withEbsOptimized(Boolean ebsOptimized)
Returns a reference to this object so that method calls can be chained together.
ebsOptimized
- The new value for the EbsOptimized property for this object.
public Boolean getEbsOptimized()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |