public class InstanceStatusDetails extends Object implements Serializable
Constructor and Description |
---|
InstanceStatusDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getImpairedSince()
Returns the value of the ImpairedSince property for this object.
|
String |
getName()
Returns the value of the Name property for this object.
|
String |
getStatus()
Returns the value of the Status property for this object.
|
int |
hashCode() |
void |
setImpairedSince(Date impairedSince)
Sets the value of the ImpairedSince property for this object.
|
void |
setName(StatusName name)
Sets the value of the Name property for this object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
void |
setStatus(StatusType status)
Sets the value of the Status property for this object.
|
void |
setStatus(String status)
Sets the value of the Status property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceStatusDetails |
withImpairedSince(Date impairedSince)
Sets the value of the ImpairedSince property for this object.
|
InstanceStatusDetails |
withName(StatusName name)
Sets the value of the Name property for this object.
|
InstanceStatusDetails |
withName(String name)
Sets the value of the Name property for this object.
|
InstanceStatusDetails |
withStatus(StatusType status)
Sets the value of the Status property for this object.
|
InstanceStatusDetails |
withStatus(String status)
Sets the value of the Status property for this object.
|
public String getName()
Constraints:
Allowed Values: reachability
StatusName
public void setName(String name)
Constraints:
Allowed Values: reachability
name
- The new value for the Name property for this object.StatusName
public InstanceStatusDetails withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: reachability
name
- The new value for the Name property for this object.StatusName
public void setName(StatusName name)
Constraints:
Allowed Values: reachability
name
- The new value for the Name property for this object.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 new value for the Name property for this object.StatusName
public String getStatus()
Constraints:
Allowed Values: passed, failed, insufficient-data
StatusType
public void setStatus(String status)
Constraints:
Allowed Values: passed, failed, insufficient-data
status
- The new value for the Status property for this object.StatusType
public InstanceStatusDetails withStatus(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 new value for the Status property for this object.StatusType
public void setStatus(StatusType status)
Constraints:
Allowed Values: passed, failed, insufficient-data
status
- The new value for the Status property for this object.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 new value for the Status property for this object.StatusType
public Date getImpairedSince()
public void setImpairedSince(Date impairedSince)
impairedSince
- The new value for the ImpairedSince property for this object.public InstanceStatusDetails withImpairedSince(Date impairedSince)
Returns a reference to this object so that method calls can be chained together.
impairedSince
- The new value for the ImpairedSince property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.