|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceStatusDetails
public class InstanceStatusDetails
Describes the instance status.
Constructor Summary | |
---|---|
InstanceStatusDetails()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getImpairedSince()
The time when a status check failed. |
java.lang.String |
getName()
The type of instance status. |
java.lang.String |
getStatus()
The status. |
int |
hashCode()
|
void |
setImpairedSince(java.util.Date impairedSince)
The time when a status check failed. |
void |
setName(StatusName name)
The type of instance status. |
void |
setName(java.lang.String name)
The type of instance status. |
void |
setStatus(StatusType status)
The status. |
void |
setStatus(java.lang.String status)
The status. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceStatusDetails |
withImpairedSince(java.util.Date impairedSince)
The time when a status check failed. |
InstanceStatusDetails |
withName(StatusName name)
The type of instance status. |
InstanceStatusDetails |
withName(java.lang.String name)
The type of instance status. |
InstanceStatusDetails |
withStatus(StatusType status)
The status. |
InstanceStatusDetails |
withStatus(java.lang.String status)
The status. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceStatusDetails()
Method Detail |
---|
public java.lang.String getName()
Constraints:
Allowed Values: reachability
StatusName
public void setName(java.lang.String name)
Constraints:
Allowed Values: reachability
name
- The type of instance status.StatusName
public InstanceStatusDetails withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: reachability
name
- The type of instance status.
StatusName
public void setName(StatusName name)
Constraints:
Allowed Values: reachability
name
- The type of instance status.StatusName
public InstanceStatusDetails withName(StatusName name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: reachability
name
- The type of instance status.
StatusName
public java.lang.String getStatus()
Constraints:
Allowed Values: passed, failed, insufficient-data
StatusType
public void setStatus(java.lang.String status)
Constraints:
Allowed Values: passed, failed, insufficient-data
status
- The status.StatusType
public InstanceStatusDetails withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: passed, failed, insufficient-data
status
- The status.
StatusType
public void setStatus(StatusType status)
Constraints:
Allowed Values: passed, failed, insufficient-data
status
- The status.StatusType
public InstanceStatusDetails withStatus(StatusType status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: passed, failed, insufficient-data
status
- The status.
StatusType
public java.util.Date getImpairedSince()
public void setImpairedSince(java.util.Date impairedSince)
impairedSince
- The time when a status check failed. For an instance that was launched
and impaired, this is the time when the instance was launched.public InstanceStatusDetails withImpairedSince(java.util.Date impairedSince)
Returns a reference to this object so that method calls can be chained together.
impairedSince
- The time when a status check failed. For an instance that was launched
and impaired, this is the time when the instance was launched.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |