@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 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 void setName(String name)
The type of instance status.
name - The type of instance status.StatusNamepublic String getName()
The type of instance status.
StatusNamepublic InstanceStatusDetails withName(String name)
The type of instance status.
name - The type of instance status.StatusNamepublic void setName(StatusName name)
The type of instance status.
name - The type of instance status.StatusNamepublic InstanceStatusDetails withName(StatusName name)
The type of instance status.
name - The type of instance status.StatusNamepublic void setStatus(String status)
The status.
status - The status.StatusTypepublic String getStatus()
The status.
StatusTypepublic InstanceStatusDetails withStatus(String status)
The status.
status - The status.StatusTypepublic void setStatus(StatusType status)
The status.
status - The status.StatusTypepublic InstanceStatusDetails withStatus(StatusType status)
The status.
status - The status.StatusTypepublic String toString()
toString in class ObjectObject.toString()public InstanceStatusDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.