@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceHealthSummary extends Object implements Serializable, Cloneable, StructuredPojo
Describes information about the health of the instance.
| Constructor and Description |
|---|
InstanceHealthSummary() |
| Modifier and Type | Method and Description |
|---|---|
InstanceHealthSummary |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceHealth()
Describes the overall instance health.
|
String |
getInstanceHealthReason()
More information about the instance health.
|
String |
getInstanceName()
The name of the Lightsail instance for which you are requesting health check data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInstanceHealth(String instanceHealth)
Describes the overall instance health.
|
void |
setInstanceHealthReason(String instanceHealthReason)
More information about the instance health.
|
void |
setInstanceName(String instanceName)
The name of the Lightsail instance for which you are requesting health check data.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceHealthSummary |
withInstanceHealth(InstanceHealthState instanceHealth)
Describes the overall instance health.
|
InstanceHealthSummary |
withInstanceHealth(String instanceHealth)
Describes the overall instance health.
|
InstanceHealthSummary |
withInstanceHealthReason(InstanceHealthReason instanceHealthReason)
More information about the instance health.
|
InstanceHealthSummary |
withInstanceHealthReason(String instanceHealthReason)
More information about the instance health.
|
InstanceHealthSummary |
withInstanceName(String instanceName)
The name of the Lightsail instance for which you are requesting health check data.
|
public void setInstanceName(String instanceName)
The name of the Lightsail instance for which you are requesting health check data.
instanceName - The name of the Lightsail instance for which you are requesting health check data.public String getInstanceName()
The name of the Lightsail instance for which you are requesting health check data.
public InstanceHealthSummary withInstanceName(String instanceName)
The name of the Lightsail instance for which you are requesting health check data.
instanceName - The name of the Lightsail instance for which you are requesting health check data.public void setInstanceHealth(String instanceHealth)
Describes the overall instance health. Valid values are below.
instanceHealth - Describes the overall instance health. Valid values are below.InstanceHealthStatepublic String getInstanceHealth()
Describes the overall instance health. Valid values are below.
InstanceHealthStatepublic InstanceHealthSummary withInstanceHealth(String instanceHealth)
Describes the overall instance health. Valid values are below.
instanceHealth - Describes the overall instance health. Valid values are below.InstanceHealthStatepublic InstanceHealthSummary withInstanceHealth(InstanceHealthState instanceHealth)
Describes the overall instance health. Valid values are below.
instanceHealth - Describes the overall instance health. Valid values are below.InstanceHealthStatepublic void setInstanceHealthReason(String instanceHealthReason)
More information about the instance health. Valid values are below.
instanceHealthReason - More information about the instance health. Valid values are below.InstanceHealthReasonpublic String getInstanceHealthReason()
More information about the instance health. Valid values are below.
InstanceHealthReasonpublic InstanceHealthSummary withInstanceHealthReason(String instanceHealthReason)
More information about the instance health. Valid values are below.
instanceHealthReason - More information about the instance health. Valid values are below.InstanceHealthReasonpublic InstanceHealthSummary withInstanceHealthReason(InstanceHealthReason instanceHealthReason)
More information about the instance health. Valid values are below.
instanceHealthReason - More information about the instance health. Valid values are below.InstanceHealthReasonpublic String toString()
toString in class ObjectObject.toString()public InstanceHealthSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.