@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Instance extends Object implements Serializable, Cloneable, StructuredPojo
Describes an instance.
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
Instance |
clone() |
boolean |
equals(Object obj) |
String |
getAgentVersion()
The agent version.
|
String |
getAmiId()
A custom AMI ID to be used to create the instance.
|
String |
getArchitecture()
The instance architecture: "i386" or "x86_64".
|
String |
getArn() |
String |
getAutoScalingType()
For load-based or time-based instances, the type.
|
String |
getAvailabilityZone()
The instance Availability Zone.
|
List<BlockDeviceMapping> |
getBlockDeviceMappings()
An array of
BlockDeviceMapping objects that specify the instance's block device mappings. |
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 |
getEcsClusterArn()
For container instances, the Amazon ECS cluster's ARN.
|
String |
getEcsContainerInstanceArn()
For container instances, the instance's ARN.
|
String |
getElasticIp()
The instance Elastic
IP address .
|
String |
getHostname()
The instance host name.
|
String |
getInfrastructureClass()
For registered instances, the infrastructure class:
ec2 or on-premises . |
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, such as
t2.micro . |
String |
getLastServiceErrorId()
The ID of the last service error.
|
List<String> |
getLayerIds()
An array containing the instance layer IDs.
|
String |
getOs()
The instance's operating system.
|
String |
getPlatform()
The instance's platform.
|
String |
getPrivateDns()
The instance's private DNS name.
|
String |
getPrivateIp()
The instance's private IP address.
|
String |
getPublicDns()
The instance public DNS name.
|
String |
getPublicIp()
The instance public IP address.
|
String |
getRegisteredBy()
For registered instances, who performed the registration.
|
String |
getReportedAgentVersion()
The instance's reported AWS OpsWorks Stacks agent version.
|
ReportedOs |
getReportedOs()
For registered instances, the reported operating system.
|
String |
getRootDeviceType()
The instance's 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 Deep Security Agent (DSA) fingerprint.
|
String |
getSshHostRsaKeyFingerprint()
The SSH key's RSA fingerprint.
|
String |
getSshKeyName()
The instance's Amazon EC2 key-pair name.
|
String |
getStackId()
The stack ID.
|
String |
getStatus()
The instance status:
|
String |
getSubnetId()
The instance's subnet ID; applicable only if the stack is running in a VPC.
|
String |
getTenancy()
The instance's tenancy option, such as
dedicated or host . |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentVersion(String agentVersion)
The agent version.
|
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 |
setArn(String arn) |
void |
setAutoScalingType(AutoScalingType autoScalingType)
For load-based or time-based instances, the type.
|
void |
setAutoScalingType(String autoScalingType)
For load-based or time-based instances, the type.
|
void |
setAvailabilityZone(String availabilityZone)
The instance Availability Zone.
|
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
An array of
BlockDeviceMapping objects that specify the instance's block device mappings. |
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 |
setEcsClusterArn(String ecsClusterArn)
For container instances, the Amazon ECS cluster's ARN.
|
void |
setEcsContainerInstanceArn(String ecsContainerInstanceArn)
For container instances, the instance's ARN.
|
void |
setElasticIp(String elasticIp)
The instance Elastic
IP address .
|
void |
setHostname(String hostname)
The instance host name.
|
void |
setInfrastructureClass(String infrastructureClass)
For registered instances, the infrastructure class:
ec2 or on-premises . |
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, such as
t2.micro . |
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's operating system.
|
void |
setPlatform(String platform)
The instance's platform.
|
void |
setPrivateDns(String privateDns)
The instance's private DNS name.
|
void |
setPrivateIp(String privateIp)
The instance's private IP address.
|
void |
setPublicDns(String publicDns)
The instance public DNS name.
|
void |
setPublicIp(String publicIp)
The instance public IP address.
|
void |
setRegisteredBy(String registeredBy)
For registered instances, who performed the registration.
|
void |
setReportedAgentVersion(String reportedAgentVersion)
The instance's reported AWS OpsWorks Stacks agent version.
|
void |
setReportedOs(ReportedOs reportedOs)
For registered instances, the reported operating system.
|
void |
setRootDeviceType(RootDeviceType rootDeviceType)
The instance's root device type.
|
void |
setRootDeviceType(String rootDeviceType)
The instance's 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 Deep Security Agent (DSA) fingerprint.
|
void |
setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
|
void |
setSshKeyName(String sshKeyName)
The instance's Amazon EC2 key-pair name.
|
void |
setStackId(String stackId)
The stack ID.
|
void |
setStatus(String status)
The instance status:
|
void |
setSubnetId(String subnetId)
The instance's subnet ID; applicable only if the stack is running in a VPC.
|
void |
setTenancy(String tenancy)
The instance's tenancy option, such as
dedicated or host . |
void |
setVirtualizationType(String virtualizationType)
The instance's virtualization type:
paravirtual or hvm . |
void |
setVirtualizationType(VirtualizationType virtualizationType)
The instance's virtualization type:
paravirtual or hvm . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Instance |
withAgentVersion(String agentVersion)
The agent version.
|
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 |
withArn(String arn) |
Instance |
withAutoScalingType(AutoScalingType autoScalingType)
For load-based or time-based instances, the type.
|
Instance |
withAutoScalingType(String autoScalingType)
For load-based or time-based instances, the type.
|
Instance |
withAvailabilityZone(String availabilityZone)
The instance Availability Zone.
|
Instance |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
An array of
BlockDeviceMapping objects that specify the instance's block device mappings. |
Instance |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
An array of
BlockDeviceMapping objects that specify the instance's block device mappings. |
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 |
withEcsClusterArn(String ecsClusterArn)
For container instances, the Amazon ECS cluster's ARN.
|
Instance |
withEcsContainerInstanceArn(String ecsContainerInstanceArn)
For container instances, the instance's ARN.
|
Instance |
withElasticIp(String elasticIp)
The instance Elastic
IP address .
|
Instance |
withHostname(String hostname)
The instance host name.
|
Instance |
withInfrastructureClass(String infrastructureClass)
For registered instances, the infrastructure class:
ec2 or on-premises . |
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, such as
t2.micro . |
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's operating system.
|
Instance |
withPlatform(String platform)
The instance's platform.
|
Instance |
withPrivateDns(String privateDns)
The instance's private DNS name.
|
Instance |
withPrivateIp(String privateIp)
The instance's private IP address.
|
Instance |
withPublicDns(String publicDns)
The instance public DNS name.
|
Instance |
withPublicIp(String publicIp)
The instance public IP address.
|
Instance |
withRegisteredBy(String registeredBy)
For registered instances, who performed the registration.
|
Instance |
withReportedAgentVersion(String reportedAgentVersion)
The instance's reported AWS OpsWorks Stacks agent version.
|
Instance |
withReportedOs(ReportedOs reportedOs)
For registered instances, the reported operating system.
|
Instance |
withRootDeviceType(RootDeviceType rootDeviceType)
The instance's root device type.
|
Instance |
withRootDeviceType(String rootDeviceType)
The instance's 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 Deep Security Agent (DSA) fingerprint.
|
Instance |
withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
|
Instance |
withSshKeyName(String sshKeyName)
The instance's Amazon EC2 key-pair name.
|
Instance |
withStackId(String stackId)
The stack ID.
|
Instance |
withStatus(String status)
The instance status:
|
Instance |
withSubnetId(String subnetId)
The instance's subnet ID; applicable only if the stack is running in a VPC.
|
Instance |
withTenancy(String tenancy)
The instance's tenancy option, such as
dedicated or host . |
Instance |
withVirtualizationType(String virtualizationType)
The instance's virtualization type:
paravirtual or hvm . |
Instance |
withVirtualizationType(VirtualizationType virtualizationType)
The instance's virtualization type:
paravirtual or hvm . |
public void setAgentVersion(String agentVersion)
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack
setting or to a a version number for a fixed agent version.
agentVersion
- The agent version. This parameter is set to INHERIT
if the instance inherits the default
stack setting or to a a version number for a fixed agent version.public String getAgentVersion()
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack
setting or to a a version number for a fixed agent version.
INHERIT
if the instance inherits the default
stack setting or to a a version number for a fixed agent version.public Instance withAgentVersion(String agentVersion)
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack
setting or to a a version number for a fixed agent version.
agentVersion
- The agent version. This parameter is set to INHERIT
if the instance inherits the default
stack setting or to a a version number for a fixed agent version.public void setAmiId(String amiId)
A custom AMI ID to be used to create the instance. For more information, see Instances
amiId
- A custom AMI ID to be used to create the instance. For more information, see Instancespublic String getAmiId()
A custom AMI ID to be used to create the instance. For more information, see Instances
public Instance withAmiId(String amiId)
A custom AMI ID to be used to create the instance. For more information, see Instances
amiId
- A custom AMI ID to be used to create the instance. For more information, see Instancespublic void setArchitecture(String architecture)
The instance architecture: "i386" or "x86_64".
architecture
- The instance architecture: "i386" or "x86_64".Architecture
public String getArchitecture()
The instance architecture: "i386" or "x86_64".
Architecture
public Instance withArchitecture(String architecture)
The instance architecture: "i386" or "x86_64".
architecture
- The instance architecture: "i386" or "x86_64".Architecture
public void setArchitecture(Architecture architecture)
The instance architecture: "i386" or "x86_64".
architecture
- The instance architecture: "i386" or "x86_64".Architecture
public Instance withArchitecture(Architecture architecture)
The instance architecture: "i386" or "x86_64".
architecture
- The instance architecture: "i386" or "x86_64".Architecture
public void setArn(String arn)
arn
- public String getArn()
public Instance withArn(String arn)
arn
- public void setAutoScalingType(String autoScalingType)
For load-based or time-based instances, the type.
autoScalingType
- For load-based or time-based instances, the type.AutoScalingType
public String getAutoScalingType()
For load-based or time-based instances, the type.
AutoScalingType
public Instance withAutoScalingType(String autoScalingType)
For load-based or time-based instances, the type.
autoScalingType
- For load-based or time-based instances, the type.AutoScalingType
public void setAutoScalingType(AutoScalingType autoScalingType)
For load-based or time-based instances, the type.
autoScalingType
- For load-based or time-based instances, the type.AutoScalingType
public Instance withAutoScalingType(AutoScalingType autoScalingType)
For load-based or time-based instances, the type.
autoScalingType
- For load-based or time-based instances, the type.AutoScalingType
public void setAvailabilityZone(String availabilityZone)
The instance Availability Zone. For more information, see Regions and Endpoints.
availabilityZone
- The instance Availability Zone. For more information, see Regions and Endpoints.public String getAvailabilityZone()
The instance Availability Zone. For more information, see Regions and Endpoints.
public Instance withAvailabilityZone(String availabilityZone)
The instance Availability Zone. For more information, see Regions and Endpoints.
availabilityZone
- The instance Availability Zone. For more information, see Regions and Endpoints.public List<BlockDeviceMapping> getBlockDeviceMappings()
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
BlockDeviceMapping
objects that specify the instance's block device mappings.public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
blockDeviceMappings
- An array of BlockDeviceMapping
objects that specify the instance's block device mappings.public Instance withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
NOTE: This method appends the values to the existing list (if any). Use
setBlockDeviceMappings(java.util.Collection)
or withBlockDeviceMappings(java.util.Collection)
if you want to override the existing values.
blockDeviceMappings
- An array of BlockDeviceMapping
objects that specify the instance's block device mappings.public Instance withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
blockDeviceMappings
- An array of BlockDeviceMapping
objects that specify the instance's block device mappings.public void setCreatedAt(String createdAt)
The time that the instance was created.
createdAt
- The time that the instance was created.public String getCreatedAt()
The time that the instance was created.
public Instance withCreatedAt(String createdAt)
The time that the instance was created.
createdAt
- The time that the instance was created.public void setEbsOptimized(Boolean ebsOptimized)
Whether this is an Amazon EBS-optimized instance.
ebsOptimized
- Whether this is an Amazon EBS-optimized instance.public Boolean getEbsOptimized()
Whether this is an Amazon EBS-optimized instance.
public Instance withEbsOptimized(Boolean ebsOptimized)
Whether this is an Amazon EBS-optimized instance.
ebsOptimized
- Whether this is an Amazon EBS-optimized instance.public Boolean isEbsOptimized()
Whether this is an Amazon EBS-optimized instance.
public void setEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.
ec2InstanceId
- The ID of the associated Amazon EC2 instance.public String getEc2InstanceId()
The ID of the associated Amazon EC2 instance.
public Instance withEc2InstanceId(String ec2InstanceId)
The ID of the associated Amazon EC2 instance.
ec2InstanceId
- The ID of the associated Amazon EC2 instance.public void setEcsClusterArn(String ecsClusterArn)
For container instances, the Amazon ECS cluster's ARN.
ecsClusterArn
- For container instances, the Amazon ECS cluster's ARN.public String getEcsClusterArn()
For container instances, the Amazon ECS cluster's ARN.
public Instance withEcsClusterArn(String ecsClusterArn)
For container instances, the Amazon ECS cluster's ARN.
ecsClusterArn
- For container instances, the Amazon ECS cluster's ARN.public void setEcsContainerInstanceArn(String ecsContainerInstanceArn)
For container instances, the instance's ARN.
ecsContainerInstanceArn
- For container instances, the instance's ARN.public String getEcsContainerInstanceArn()
For container instances, the instance's ARN.
public Instance withEcsContainerInstanceArn(String ecsContainerInstanceArn)
For container instances, the instance's ARN.
ecsContainerInstanceArn
- For container instances, the instance's ARN.public void setElasticIp(String elasticIp)
The instance Elastic IP address .
elasticIp
- The instance Elastic IP address
.public String getElasticIp()
The instance Elastic IP address .
public Instance withElasticIp(String elasticIp)
The instance Elastic IP address .
elasticIp
- The instance Elastic IP address
.public void setHostname(String hostname)
The instance host name.
hostname
- The instance host name.public String getHostname()
The instance host name.
public Instance withHostname(String hostname)
The instance host name.
hostname
- The instance host name.public void setInfrastructureClass(String infrastructureClass)
For registered instances, the infrastructure class: ec2
or on-premises
.
infrastructureClass
- For registered instances, the infrastructure class: ec2
or on-premises
.public String getInfrastructureClass()
For registered instances, the infrastructure class: ec2
or on-premises
.
ec2
or on-premises
.public Instance withInfrastructureClass(String infrastructureClass)
For registered instances, the infrastructure class: ec2
or on-premises
.
infrastructureClass
- For registered instances, the infrastructure class: ec2
or on-premises
.public void setInstallUpdatesOnBoot(Boolean 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 by 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 by
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()
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 by 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 by
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)
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 by 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 by
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 isInstallUpdatesOnBoot()
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 by 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 by
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 setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public Instance withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
instanceProfileArn
- The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.public String getInstanceProfileArn()
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
public Instance withInstanceProfileArn(String instanceProfileArn)
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
instanceProfileArn
- The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.public void setInstanceType(String instanceType)
The instance type, such as t2.micro
.
instanceType
- The instance type, such as t2.micro
.public String getInstanceType()
The instance type, such as t2.micro
.
t2.micro
.public Instance withInstanceType(String instanceType)
The instance type, such as t2.micro
.
instanceType
- The instance type, such as t2.micro
.public void setLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error. For more information, call DescribeServiceErrors.
lastServiceErrorId
- The ID of the last service error. For more information, call DescribeServiceErrors.public String getLastServiceErrorId()
The ID of the last service error. For more information, call DescribeServiceErrors.
public Instance withLastServiceErrorId(String lastServiceErrorId)
The ID of the last service error. For more information, call DescribeServiceErrors.
lastServiceErrorId
- The ID of the last service error. For more information, call DescribeServiceErrors.public List<String> getLayerIds()
An array containing the instance layer IDs.
public void setLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.
layerIds
- An array containing the instance layer IDs.public Instance withLayerIds(String... layerIds)
An array containing the instance layer IDs.
NOTE: This method appends the values to the existing list (if any). Use
setLayerIds(java.util.Collection)
or withLayerIds(java.util.Collection)
if you want to override
the existing values.
layerIds
- An array containing the instance layer IDs.public Instance withLayerIds(Collection<String> layerIds)
An array containing the instance layer IDs.
layerIds
- An array containing the instance layer IDs.public void setOs(String os)
The instance's operating system.
os
- The instance's operating system.public String getOs()
The instance's operating system.
public Instance withOs(String os)
The instance's operating system.
os
- The instance's operating system.public void setPlatform(String platform)
The instance's platform.
platform
- The instance's platform.public String getPlatform()
The instance's platform.
public Instance withPlatform(String platform)
The instance's platform.
platform
- The instance's platform.public void setPrivateDns(String privateDns)
The instance's private DNS name.
privateDns
- The instance's private DNS name.public String getPrivateDns()
The instance's private DNS name.
public Instance withPrivateDns(String privateDns)
The instance's private DNS name.
privateDns
- The instance's private DNS name.public void setPrivateIp(String privateIp)
The instance's private IP address.
privateIp
- The instance's private IP address.public String getPrivateIp()
The instance's private IP address.
public Instance withPrivateIp(String privateIp)
The instance's private IP address.
privateIp
- The instance's private IP address.public void setPublicDns(String publicDns)
The instance public DNS name.
publicDns
- The instance public DNS name.public String getPublicDns()
The instance public DNS name.
public Instance withPublicDns(String publicDns)
The instance public DNS name.
publicDns
- The instance public DNS name.public void setPublicIp(String publicIp)
The instance public IP address.
publicIp
- The instance public IP address.public String getPublicIp()
The instance public IP address.
public Instance withPublicIp(String publicIp)
The instance public IP address.
publicIp
- The instance public IP address.public void setRegisteredBy(String registeredBy)
For registered instances, who performed the registration.
registeredBy
- For registered instances, who performed the registration.public String getRegisteredBy()
For registered instances, who performed the registration.
public Instance withRegisteredBy(String registeredBy)
For registered instances, who performed the registration.
registeredBy
- For registered instances, who performed the registration.public void setReportedAgentVersion(String reportedAgentVersion)
The instance's reported AWS OpsWorks Stacks agent version.
reportedAgentVersion
- The instance's reported AWS OpsWorks Stacks agent version.public String getReportedAgentVersion()
The instance's reported AWS OpsWorks Stacks agent version.
public Instance withReportedAgentVersion(String reportedAgentVersion)
The instance's reported AWS OpsWorks Stacks agent version.
reportedAgentVersion
- The instance's reported AWS OpsWorks Stacks agent version.public void setReportedOs(ReportedOs reportedOs)
For registered instances, the reported operating system.
reportedOs
- For registered instances, the reported operating system.public ReportedOs getReportedOs()
For registered instances, the reported operating system.
public Instance withReportedOs(ReportedOs reportedOs)
For registered instances, the reported operating system.
reportedOs
- For registered instances, the reported operating system.public void setRootDeviceType(String rootDeviceType)
The instance's root device type. For more information, see Storage for the Root Device.
rootDeviceType
- The instance's root device type. For more information, see Storage for the Root Device.RootDeviceType
public String getRootDeviceType()
The instance's root device type. For more information, see Storage for the Root Device.
RootDeviceType
public Instance withRootDeviceType(String rootDeviceType)
The instance's root device type. For more information, see Storage for the Root Device.
rootDeviceType
- The instance's root device type. For more information, see Storage for the Root Device.RootDeviceType
public void setRootDeviceType(RootDeviceType rootDeviceType)
The instance's root device type. For more information, see Storage for the Root Device.
rootDeviceType
- The instance's root device type. For more information, see Storage for the Root Device.RootDeviceType
public Instance withRootDeviceType(RootDeviceType rootDeviceType)
The instance's root device type. For more information, see Storage for the Root Device.
rootDeviceType
- The instance's root device type. For more information, see Storage for the Root Device.RootDeviceType
public void setRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.
rootDeviceVolumeId
- The root device volume ID.public String getRootDeviceVolumeId()
The root device volume ID.
public Instance withRootDeviceVolumeId(String rootDeviceVolumeId)
The root device volume ID.
rootDeviceVolumeId
- The root device volume ID.public List<String> getSecurityGroupIds()
An array containing the instance security group IDs.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.
securityGroupIds
- An array containing the instance security group IDs.public Instance withSecurityGroupIds(String... securityGroupIds)
An array containing the instance security group IDs.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- An array containing the instance security group IDs.public Instance withSecurityGroupIds(Collection<String> securityGroupIds)
An array containing the instance security group IDs.
securityGroupIds
- An array containing the instance security group IDs.public void setSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's Deep Security Agent (DSA) fingerprint.
sshHostDsaKeyFingerprint
- The SSH key's Deep Security Agent (DSA) fingerprint.public String getSshHostDsaKeyFingerprint()
The SSH key's Deep Security Agent (DSA) fingerprint.
public Instance withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint)
The SSH key's Deep Security Agent (DSA) fingerprint.
sshHostDsaKeyFingerprint
- The SSH key's Deep Security Agent (DSA) fingerprint.public void setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
sshHostRsaKeyFingerprint
- The SSH key's RSA fingerprint.public String getSshHostRsaKeyFingerprint()
The SSH key's RSA fingerprint.
public Instance withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint)
The SSH key's RSA fingerprint.
sshHostRsaKeyFingerprint
- The SSH key's RSA fingerprint.public void setSshKeyName(String sshKeyName)
The instance's Amazon EC2 key-pair name.
sshKeyName
- The instance's Amazon EC2 key-pair name.public String getSshKeyName()
The instance's Amazon EC2 key-pair name.
public Instance withSshKeyName(String sshKeyName)
The instance's Amazon EC2 key-pair name.
sshKeyName
- The instance's Amazon EC2 key-pair name.public void setStackId(String stackId)
The stack ID.
stackId
- The stack ID.public String getStackId()
The stack ID.
public Instance withStackId(String stackId)
The stack ID.
stackId
- The stack ID.public void setStatus(String status)
The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
status
- The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
public String getStatus()
The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
public Instance withStatus(String status)
The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
status
- The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
public void setSubnetId(String subnetId)
The instance's subnet ID; applicable only if the stack is running in a VPC.
subnetId
- The instance's subnet ID; applicable only if the stack is running in a VPC.public String getSubnetId()
The instance's subnet ID; applicable only if the stack is running in a VPC.
public Instance withSubnetId(String subnetId)
The instance's subnet ID; applicable only if the stack is running in a VPC.
subnetId
- The instance's subnet ID; applicable only if the stack is running in a VPC.public void setTenancy(String tenancy)
The instance's tenancy option, such as dedicated
or host
.
tenancy
- The instance's tenancy option, such as dedicated
or host
.public String getTenancy()
The instance's tenancy option, such as dedicated
or host
.
dedicated
or host
.public Instance withTenancy(String tenancy)
The instance's tenancy option, such as dedicated
or host
.
tenancy
- The instance's tenancy option, such as dedicated
or host
.public void setVirtualizationType(String virtualizationType)
The instance's virtualization type: paravirtual
or hvm
.
virtualizationType
- The instance's virtualization type: paravirtual
or hvm
.VirtualizationType
public String getVirtualizationType()
The instance's virtualization type: paravirtual
or hvm
.
paravirtual
or hvm
.VirtualizationType
public Instance withVirtualizationType(String virtualizationType)
The instance's virtualization type: paravirtual
or hvm
.
virtualizationType
- The instance's virtualization type: paravirtual
or hvm
.VirtualizationType
public void setVirtualizationType(VirtualizationType virtualizationType)
The instance's virtualization type: paravirtual
or hvm
.
virtualizationType
- The instance's virtualization type: paravirtual
or hvm
.VirtualizationType
public Instance withVirtualizationType(VirtualizationType virtualizationType)
The instance's virtualization type: paravirtual
or hvm
.
virtualizationType
- The instance's virtualization type: paravirtual
or hvm
.VirtualizationType
public String toString()
toString
in class Object
Object.toString()
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.