public class InstanceStatusDetails extends Object implements Serializable, Cloneable
Describes the instance status.
Constructor and Description |
---|
InstanceStatusDetails() |
Modifier and Type | Method and Description |
---|---|
InstanceStatusDetails |
clone() |
boolean |
equals(Object obj) |
Date |
getImpairedSince()
The time when a status check failed.
|
String |
getName()
The type of instance status.
|
String |
getStatus()
The status.
|
int |
hashCode() |
void |
setImpairedSince(Date impairedSince)
The time when a status check failed.
|
void |
setName(StatusName name)
The type of instance status.
|
void |
setName(String name)
The type of instance status.
|
void |
setStatus(StatusType status)
The status.
|
void |
setStatus(String status)
The status.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceStatusDetails |
withImpairedSince(Date impairedSince)
The time when a status check failed.
|
InstanceStatusDetails |
withName(StatusName name)
The type of instance status.
|
InstanceStatusDetails |
withName(String name)
The type of instance status.
|
InstanceStatusDetails |
withStatus(StatusType status)
The status.
|
InstanceStatusDetails |
withStatus(String status)
The status.
|
public void setName(String name)
The type of instance status.
name
- The type of instance status.StatusName
public String getName()
The type of instance status.
StatusName
public InstanceStatusDetails withName(String name)
The type of instance status.
name
- The type of instance status.StatusName
public void setName(StatusName name)
The type of instance status.
name
- The type of instance status.StatusName
public InstanceStatusDetails withName(StatusName name)
The type of instance status.
name
- The type of instance status.StatusName
public void setStatus(String status)
The status.
status
- The status.StatusType
public String getStatus()
The status.
StatusType
public InstanceStatusDetails withStatus(String status)
The status.
status
- The status.StatusType
public void setStatus(StatusType status)
The status.
status
- The status.StatusType
public InstanceStatusDetails withStatus(StatusType status)
The status.
status
- The status.StatusType
public void setImpairedSince(Date 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.
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 Date getImpairedSince()
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(Date 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.
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 String toString()
toString
in class Object
Object.toString()
public InstanceStatusDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.