|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.opsworks.model.Instance
public class Instance
Describes an instance.
Constructor Summary | |
---|---|
Instance()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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. |
String |
getEc2InstanceId()
The ID of the associated Amazon EC2 instance. |
String |
getElasticIp()
The instance Elastic IP address . |
String |
getHostname()
The instance host name. |
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 |
int |
hashCode()
|
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 |
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 |
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 |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
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 |
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 |
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 |
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
- 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 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. 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. 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()
public void setStatus(String status)
status
- The instance status: public Instance withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The instance status: 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 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 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 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 |