public class Instance
extends java.lang.Object
implements java.io.Serializable
The Instance data type.
| コンストラクタと説明 |
|---|
Instance() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
Availability Zones associated with this instance.
|
java.lang.String |
getHealthStatus()
The instance's health status.
|
java.lang.String |
getInstanceId()
Specifies the ID of the Amazon EC2 instance.
|
java.lang.String |
getLaunchConfigurationName()
The launch configuration associated with this instance.
|
java.lang.String |
getLifecycleState()
Contains a description of the current lifecycle state.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
Availability Zones associated with this instance.
|
void |
setHealthStatus(java.lang.String healthStatus)
The instance's health status.
|
void |
setInstanceId(java.lang.String instanceId)
Specifies the ID of the Amazon EC2 instance.
|
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
The launch configuration associated with this instance.
|
void |
setLifecycleState(LifecycleState lifecycleState)
Contains a description of the current lifecycle state.
|
void |
setLifecycleState(java.lang.String lifecycleState)
Contains a description of the current lifecycle state.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Instance |
withAvailabilityZone(java.lang.String availabilityZone)
Availability Zones associated with this instance.
|
Instance |
withHealthStatus(java.lang.String healthStatus)
The instance's health status.
|
Instance |
withInstanceId(java.lang.String instanceId)
Specifies the ID of the Amazon EC2 instance.
|
Instance |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
The launch configuration associated with this instance.
|
Instance |
withLifecycleState(LifecycleState lifecycleState)
Contains a description of the current lifecycle state.
|
Instance |
withLifecycleState(java.lang.String lifecycleState)
Contains a description of the current lifecycle state.
|
public java.lang.String getInstanceId()
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
public void setInstanceId(java.lang.String instanceId)
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
instanceId - Specifies the ID of the Amazon EC2 instance.public Instance withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
instanceId - Specifies the ID of the Amazon EC2 instance.public java.lang.String getAvailabilityZone()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAvailabilityZone(java.lang.String availabilityZone)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
availabilityZone - Availability Zones associated with this instance.public Instance withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
availabilityZone - Availability Zones associated with this instance.public java.lang.String getLifecycleState()
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
LifecycleStatepublic void setLifecycleState(java.lang.String lifecycleState)
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state.LifecycleStatepublic Instance withLifecycleState(java.lang.String lifecycleState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state.LifecycleStatepublic void setLifecycleState(LifecycleState lifecycleState)
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state.LifecycleStatepublic Instance withLifecycleState(LifecycleState lifecycleState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state.LifecycleStatepublic java.lang.String getHealthStatus()
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
public void setHealthStatus(java.lang.String healthStatus)
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
healthStatus - The instance's health status.public Instance withHealthStatus(java.lang.String healthStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
healthStatus - The instance's health status.public java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName - The launch configuration associated with this instance.public Instance withLaunchConfigurationName(java.lang.String launchConfigurationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName - The launch configuration associated with this instance.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object