public class Instance extends Object implements Serializable
Describes an instance.
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAmiId()
A custom AMI ID to be used to create the instance.
|
String |
getArchitecture()
The instance architecture, "i386" or "x86_64".
|
String |
getAutoScalingType()
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
String |
getAvailabilityZone()
The instance Availability Zone.
|
String |
getCreatedAt()
The time that the instance was created.
|
Boolean |
getEbsOptimized()
Whether this is an Amazon EBS-optimized instance.
|
String |
getEc2InstanceId()
The ID of the associated Amazon EC2 instance.
|
String |
getElasticIp()
The instance Elastic
IP address .
|
String |
getHostname()
The instance host name.
|
Boolean |
getInstallUpdatesOnBoot()
Whether to install operating system and package updates when the
instance boots.
|
String |
getInstanceId()
The instance ID.
|
String |
getInstanceProfileArn()
The ARN of the instance's IAM profile.
|
String |
getInstanceType()
The instance type.
|
String |
getLastServiceErrorId()
The ID of the last service error.
|
List<String> |
getLayerIds()
An array containing the instance layer IDs.
|
String |
getOs()
The instance operating system.
|
String |
getPrivateDns()
The instance private DNS name.
|
String |
getPrivateIp()
The instance private IP address.
|
String |
getPublicDns()
The instance public DNS name.
|
String |
getPublicIp()
The instance public IP address.
|
String |
getRootDeviceType()
The instance root device type.
|
String |
getRootDeviceVolumeId()
The root device volume ID.
|
List<String> |
getSecurityGroupIds()
An array containing the instance security group IDs.
|
String |
getSshHostDsaKeyFingerprint()
The SSH key's DSA fingerprint.
|
String |
getSshHostRsaKeyFingerprint()
The SSH key's RSA fingerprint.
|
String |
getSshKeyName()
The instance SSH key name.
|
String |
getStackId()
The stack ID.
|
String |
getStatus()
The instance status:
requested
booting running_setup
online setup_failed
start_failed terminating
terminated stopped
connection_lost |
String |
getSubnetId()
The instance's subnet ID, if the stack is running in a VPC.
|
String |
getVirtualizationType()
The instance's virtualization type,
paravirtual or
hvm . |
int |
hashCode() |
Boolean |
isEbsOptimized()
Whether this is an Amazon EBS-optimized instance.
|
Boolean |
isInstallUpdatesOnBoot()
Whether to install operating system and package updates when the
instance boots.
|
void |
setAmiId(String amiId)
A custom AMI ID to be used to create the instance.
|
void |
setArchitecture(Architecture architecture)
The instance architecture, "i386" or "x86_64".
|
void |
setArchitecture(String architecture)
The instance architecture, "i386" or "x86_64".
|
void |
setAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
void |
setAutoScalingType(String autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
void |
setAvailabilityZone(String availabilityZone)
The instance Availability Zone.
|
void |
setCreatedAt(String createdAt)
The time that the instance was created.
|
void |
setEbsOptimized(Boolean ebsOptimized)
Whether this is an Amazon EBS-optimized instance.
|
void |
setEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.
|
void |
setElasticIp(String elasticIp)
The instance Elastic
IP address .
|
void |
setHostname(String hostname)
The instance host name.
|
void |
setInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the
instance boots.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile.
|
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error.
|
void |
setLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.
|
void |
setOs(String os)
The instance operating system.
|
void |
setPrivateDns(String privateDns)
The instance private DNS name.
|
void |
setPrivateIp(String privateIp)
The instance private IP address.
|
void |
setPublicDns(String publicDns)
The instance public DNS name.
|
void |
setPublicIp(String publicIp)
The instance public IP address.
|
void |
setRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type.
|
void |
setRootDeviceType(String rootDeviceType)
The instance root device type.
|
void |
setRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.
|
void |
setSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's DSA fingerprint.
|
void |
setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
|
void |
setSshKeyName(String sshKeyName)
The instance SSH key name.
|
void |
setStackId(String stackId)
The stack ID.
|
void |
setStatus(String status)
The instance status:
requested
booting running_setup
online setup_failed
start_failed terminating
terminated stopped
connection_lost |
void |
setSubnetId(String subnetId)
The instance's subnet ID, if the stack is running in a VPC.
|
void |
setVirtualizationType(String virtualizationType)
The instance's virtualization type,
paravirtual or
hvm . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Instance |
withAmiId(String amiId)
A custom AMI ID to be used to create the instance.
|
Instance |
withArchitecture(Architecture architecture)
The instance architecture, "i386" or "x86_64".
|
Instance |
withArchitecture(String architecture)
The instance architecture, "i386" or "x86_64".
|
Instance |
withAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
Instance |
withAutoScalingType(String autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
Instance |
withAvailabilityZone(String availabilityZone)
The instance Availability Zone.
|
Instance |
withCreatedAt(String createdAt)
The time that the instance was created.
|
Instance |
withEbsOptimized(Boolean ebsOptimized)
Whether this is an Amazon EBS-optimized instance.
|
Instance |
withEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.
|
Instance |
withElasticIp(String elasticIp)
The instance Elastic
IP address .
|
Instance |
withHostname(String hostname)
The instance host name.
|
Instance |
withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the
instance boots.
|
Instance |
withInstanceId(String instanceId)
The instance ID.
|
Instance |
withInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile.
|
Instance |
withInstanceType(String instanceType)
The instance type.
|
Instance |
withLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error.
|
Instance |
withLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.
|
Instance |
withLayerIds(String... layerIds)
An array containing the instance layer IDs.
|
Instance |
withOs(String os)
The instance operating system.
|
Instance |
withPrivateDns(String privateDns)
The instance private DNS name.
|
Instance |
withPrivateIp(String privateIp)
The instance private IP address.
|
Instance |
withPublicDns(String publicDns)
The instance public DNS name.
|
Instance |
withPublicIp(String publicIp)
The instance public IP address.
|
Instance |
withRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type.
|
Instance |
withRootDeviceType(String rootDeviceType)
The instance root device type.
|
Instance |
withRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.
|
Instance |
withSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.
|
Instance |
withSecurityGroupIds(String... securityGroupIds)
An array containing the instance security group IDs.
|
Instance |
withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's DSA fingerprint.
|
Instance |
withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
|
Instance |
withSshKeyName(String sshKeyName)
The instance SSH key name.
|
Instance |
withStackId(String stackId)
The stack ID.
|
Instance |
withStatus(String status)
The instance status:
requested
booting running_setup
online setup_failed
start_failed terminating
terminated stopped
connection_lost |
Instance |
withSubnetId(String subnetId)
The instance's subnet ID, if the stack is running in a VPC.
|
Instance |
withVirtualizationType(String virtualizationType)
The instance's virtualization type,
paravirtual or
hvm . |
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public Instance withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public String getEc2InstanceId()
public void setEc2InstanceId(String ec2InstanceId)
ec2InstanceId
- The ID of the associated Amazon EC2 instance.public Instance withEc2InstanceId(String ec2InstanceId)
Returns a reference to this object so that method calls can be chained together.
ec2InstanceId
- The ID of the associated Amazon EC2 instance.public String getVirtualizationType()
paravirtual
or
hvm
.paravirtual
or
hvm
.public void setVirtualizationType(String virtualizationType)
paravirtual
or
hvm
.virtualizationType
- The instance's virtualization type, paravirtual
or
hvm
.public Instance withVirtualizationType(String virtualizationType)
paravirtual
or
hvm
.
Returns a reference to this object so that method calls can be chained together.
virtualizationType
- The instance's virtualization type, paravirtual
or
hvm
.public String getHostname()
public void setHostname(String hostname)
hostname
- The instance host name.public Instance withHostname(String hostname)
Returns a reference to this object so that method calls can be chained together.
hostname
- The instance host name.public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public Instance withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public List<String> getLayerIds()
public void setLayerIds(Collection<String> layerIds)
layerIds
- An array containing the instance layer IDs.public Instance withLayerIds(String... layerIds)
Returns a reference to this object so that method calls can be chained together.
layerIds
- An array containing the instance layer IDs.public Instance withLayerIds(Collection<String> layerIds)
Returns a reference to this object so that method calls can be chained together.
layerIds
- An array containing the instance layer IDs.public List<String> getSecurityGroupIds()
public void setSecurityGroupIds(Collection<String> securityGroupIds)
securityGroupIds
- An array containing the instance security group IDs.public Instance withSecurityGroupIds(String... securityGroupIds)
Returns a reference to this object so that method calls can be chained together.
securityGroupIds
- An array containing the instance security group IDs.public Instance withSecurityGroupIds(Collection<String> securityGroupIds)
Returns a reference to this object so that method calls can be chained together.
securityGroupIds
- An array containing the instance security group IDs.public String getInstanceType()
public void setInstanceType(String instanceType)
instanceType
- The instance type. AWS OpsWorks supports all instance types except
Cluster Compute, Cluster GPU, and High Memory Cluster. For more
information, see Instance
Families and Types. The parameter values that specify the various
types are in the API Name column of the Available Instance Types
table.public Instance withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
instanceType
- The instance type. AWS OpsWorks supports all instance types except
Cluster Compute, Cluster GPU, and High Memory Cluster. For more
information, see Instance
Families and Types. The parameter values that specify the various
types are in the API Name column of the Available Instance Types
table.public String getInstanceProfileArn()
public void setInstanceProfileArn(String instanceProfileArn)
instanceProfileArn
- The ARN of the instance's IAM profile. For more information about IAM
ARNs, see Using
Identifiers.public Instance withInstanceProfileArn(String instanceProfileArn)
Returns a reference to this object so that method calls can be chained together.
instanceProfileArn
- The ARN of the instance's IAM profile. For more information about IAM
ARNs, see Using
Identifiers.public String getStatus()
requested
booting
running_setup
online
setup_failed
start_failed
terminating
terminated
stopped
connection_lost
requested
booting
running_setup
online
setup_failed
start_failed
terminating
terminated
stopped
connection_lost
public void setStatus(String status)
requested
booting
running_setup
online
setup_failed
start_failed
terminating
terminated
stopped
connection_lost
status
- The instance status: requested
booting
running_setup
online
setup_failed
start_failed
terminating
terminated
stopped
connection_lost
public Instance withStatus(String status)
requested
booting
running_setup
online
setup_failed
start_failed
terminating
terminated
stopped
connection_lost
Returns a reference to this object so that method calls can be chained together.
status
- The instance status: requested
booting
running_setup
online
setup_failed
start_failed
terminating
terminated
stopped
connection_lost
public String getOs()
public void setOs(String os)
os
- The instance operating system.public Instance withOs(String os)
Returns a reference to this object so that method calls can be chained together.
os
- The instance operating system.public String getAmiId()
public void setAmiId(String amiId)
amiId
- A custom AMI ID to be used to create the instance. The AMI should be
based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu
12.04 LTS. For more information, see Instancespublic Instance withAmiId(String amiId)
Returns a reference to this object so that method calls can be chained together.
amiId
- A custom AMI ID to be used to create the instance. The AMI should be
based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu
12.04 LTS. For more information, see Instancespublic String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The instance Availability Zone. For more information, see Regions
and Endpoints.public Instance withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The instance Availability Zone. For more information, see Regions
and Endpoints.public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- The instance's subnet ID, if the stack is running in a VPC.public Instance withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- The instance's subnet ID, if the stack is running in a VPC.public String getPublicDns()
public void setPublicDns(String publicDns)
publicDns
- The instance public DNS name.public Instance withPublicDns(String publicDns)
Returns a reference to this object so that method calls can be chained together.
publicDns
- The instance public DNS name.public String getPrivateDns()
public void setPrivateDns(String privateDns)
privateDns
- The instance private DNS name.public Instance withPrivateDns(String privateDns)
Returns a reference to this object so that method calls can be chained together.
privateDns
- The instance private DNS name.public String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- The instance public IP address.public Instance withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- The instance public IP address.public String getPrivateIp()
public void setPrivateIp(String privateIp)
privateIp
- The instance private IP address.public Instance withPrivateIp(String privateIp)
Returns a reference to this object so that method calls can be chained together.
privateIp
- The instance private IP address.public String getElasticIp()
public void setElasticIp(String elasticIp)
elasticIp
- The instance Elastic
IP address .public Instance withElasticIp(String elasticIp)
Returns a reference to this object so that method calls can be chained together.
elasticIp
- The instance Elastic
IP address .public String getAutoScalingType()
Constraints:
Allowed Values: load, timer
AutoScalingType
public void setAutoScalingType(String autoScalingType)
Constraints:
Allowed Values: load, timer
autoScalingType
- The instance's auto scaling type, which has three possible values:
AutoScalingType
public Instance withAutoScalingType(String autoScalingType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: load, timer
autoScalingType
- The instance's auto scaling type, which has three possible values:
AutoScalingType
public void setAutoScalingType(AutoScalingType autoScalingType)
Constraints:
Allowed Values: load, timer
autoScalingType
- The instance's auto scaling type, which has three possible values:
AutoScalingType
public Instance withAutoScalingType(AutoScalingType autoScalingType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: load, timer
autoScalingType
- The instance's auto scaling type, which has three possible values:
AutoScalingType
public String getSshKeyName()
public void setSshKeyName(String sshKeyName)
sshKeyName
- The instance SSH key name.public Instance withSshKeyName(String sshKeyName)
Returns a reference to this object so that method calls can be chained together.
sshKeyName
- The instance SSH key name.public String getSshHostRsaKeyFingerprint()
public void setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
sshHostRsaKeyFingerprint
- The SSH key's RSA fingerprint.public Instance withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
Returns a reference to this object so that method calls can be chained together.
sshHostRsaKeyFingerprint
- The SSH key's RSA fingerprint.public String getSshHostDsaKeyFingerprint()
public void setSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
sshHostDsaKeyFingerprint
- The SSH key's DSA fingerprint.public Instance withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
Returns a reference to this object so that method calls can be chained together.
sshHostDsaKeyFingerprint
- The SSH key's DSA fingerprint.public String getCreatedAt()
public void setCreatedAt(String createdAt)
createdAt
- The time that the instance was created.public Instance withCreatedAt(String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt
- The time that the instance was created.public String getLastServiceErrorId()
public void setLastServiceErrorId(String lastServiceErrorId)
lastServiceErrorId
- The ID of the last service error. For more information, call
DescribeServiceErrors.public Instance withLastServiceErrorId(String lastServiceErrorId)
Returns a reference to this object so that method calls can be chained together.
lastServiceErrorId
- The ID of the last service error. For more information, call
DescribeServiceErrors.public String getArchitecture()
Constraints:
Allowed Values: x86_64, i386
Architecture
public void setArchitecture(String architecture)
Constraints:
Allowed Values: x86_64, i386
architecture
- The instance architecture, "i386" or "x86_64".Architecture
public Instance withArchitecture(String architecture)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: x86_64, i386
architecture
- The instance architecture, "i386" or "x86_64".Architecture
public void setArchitecture(Architecture architecture)
Constraints:
Allowed Values: x86_64, i386
architecture
- The instance architecture, "i386" or "x86_64".Architecture
public Instance withArchitecture(Architecture architecture)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: x86_64, i386
architecture
- The instance architecture, "i386" or "x86_64".Architecture
public String getRootDeviceType()
Constraints:
Allowed Values: ebs, instance-store
RootDeviceType
public void setRootDeviceType(String rootDeviceType)
Constraints:
Allowed Values: ebs, instance-store
rootDeviceType
- The instance root device type. For more information, see Storage
for the Root Device.RootDeviceType
public Instance withRootDeviceType(String rootDeviceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ebs, instance-store
rootDeviceType
- The instance root device type. For more information, see Storage
for the Root Device.RootDeviceType
public void setRootDeviceType(RootDeviceType rootDeviceType)
Constraints:
Allowed Values: ebs, instance-store
rootDeviceType
- The instance root device type. For more information, see Storage
for the Root Device.RootDeviceType
public Instance withRootDeviceType(RootDeviceType rootDeviceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ebs, instance-store
rootDeviceType
- The instance root device type. For more information, see Storage
for the Root Device.RootDeviceType
public String getRootDeviceVolumeId()
public void setRootDeviceVolumeId(String rootDeviceVolumeId)
rootDeviceVolumeId
- The root device volume ID.public Instance withRootDeviceVolumeId(String rootDeviceVolumeId)
Returns a reference to this object so that method calls can be chained together.
rootDeviceVolumeId
- The root device volume ID.public Boolean isInstallUpdatesOnBoot()
true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
public void setInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
installUpdatesOnBoot
- Whether to install operating system and package updates when the
instance boots. The default value is true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
public Instance withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
Returns a reference to this object so that method calls can be chained together.
installUpdatesOnBoot
- Whether to install operating system and package updates when the
instance boots. The default value is true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
public Boolean getInstallUpdatesOnBoot()
true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
true
. If this value
is set to false
, you must then update your instances
manually by using CreateDeployment to run the
update_dependencies
stack command or manually running
yum
(Amazon Linux) or apt-get
(Ubuntu) on
the instances. We strongly recommend using the default value
of true
, to ensure that your instances have the latest
security updates.
public Boolean isEbsOptimized()
public void setEbsOptimized(Boolean ebsOptimized)
ebsOptimized
- Whether this is an Amazon EBS-optimized instance.public Instance withEbsOptimized(Boolean ebsOptimized)
Returns a reference to this object so that method calls can be chained together.
ebsOptimized
- Whether this is an Amazon EBS-optimized instance.public Boolean getEbsOptimized()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.