@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceHealthSummary extends Object implements Serializable, Cloneable
Represents summary information about the health of an instance. For more information, see Health Colors and Statuses.
Constructor and Description |
---|
InstanceHealthSummary() |
Modifier and Type | Method and Description |
---|---|
InstanceHealthSummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getDegraded()
Red. The health agent is reporting a high number of request failures or other issues for an instance or
environment.
|
Integer |
getInfo()
Green. An operation is in progress on an instance.
|
Integer |
getNoData()
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
|
Integer |
getOk()
Green. An instance is passing health checks and the health agent is not reporting any problems.
|
Integer |
getPending()
Grey. An operation is in progress on an instance within the command timeout.
|
Integer |
getSevere()
Red. The health agent is reporting a very high number of request failures or other issues for an instance
or environment.
|
Integer |
getUnknown()
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an
instance.
|
Integer |
getWarning()
Yellow. The health agent is reporting a moderate number of request failures or other issues for an
instance or environment.
|
int |
hashCode() |
void |
setDegraded(Integer degraded)
Red. The health agent is reporting a high number of request failures or other issues for an instance or
environment.
|
void |
setInfo(Integer info)
Green. An operation is in progress on an instance.
|
void |
setNoData(Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
|
void |
setOk(Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
|
void |
setPending(Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
|
void |
setSevere(Integer severe)
Red. The health agent is reporting a very high number of request failures or other issues for an instance
or environment.
|
void |
setUnknown(Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an
instance.
|
void |
setWarning(Integer warning)
Yellow. The health agent is reporting a moderate number of request failures or other issues for an
instance or environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceHealthSummary |
withDegraded(Integer degraded)
Red. The health agent is reporting a high number of request failures or other issues for an instance or
environment.
|
InstanceHealthSummary |
withInfo(Integer info)
Green. An operation is in progress on an instance.
|
InstanceHealthSummary |
withNoData(Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
|
InstanceHealthSummary |
withOk(Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
|
InstanceHealthSummary |
withPending(Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
|
InstanceHealthSummary |
withSevere(Integer severe)
Red. The health agent is reporting a very high number of request failures or other issues for an instance
or environment.
|
InstanceHealthSummary |
withUnknown(Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an
instance.
|
InstanceHealthSummary |
withWarning(Integer warning)
Yellow. The health agent is reporting a moderate number of request failures or other issues for an
instance or environment.
|
public void setNoData(Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
noData
- Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.public Integer getNoData()
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
public InstanceHealthSummary withNoData(Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
noData
- Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.public void setUnknown(Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
unknown
- Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an
instance.public Integer getUnknown()
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
public InstanceHealthSummary withUnknown(Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
unknown
- Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an
instance.public void setPending(Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
pending
- Grey. An operation is in progress on an instance within the command timeout.public Integer getPending()
Grey. An operation is in progress on an instance within the command timeout.
public InstanceHealthSummary withPending(Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
pending
- Grey. An operation is in progress on an instance within the command timeout.public void setOk(Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
ok
- Green. An instance is passing health checks and the health agent is not reporting any problems.public Integer getOk()
Green. An instance is passing health checks and the health agent is not reporting any problems.
public InstanceHealthSummary withOk(Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
ok
- Green. An instance is passing health checks and the health agent is not reporting any problems.public void setInfo(Integer info)
Green. An operation is in progress on an instance.
info
- Green. An operation is in progress on an instance.public Integer getInfo()
Green. An operation is in progress on an instance.
public InstanceHealthSummary withInfo(Integer info)
Green. An operation is in progress on an instance.
info
- Green. An operation is in progress on an instance.public void setWarning(Integer warning)
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
warning
- Yellow. The health agent is reporting a moderate number of request failures or other issues for an
instance or environment.public Integer getWarning()
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
public InstanceHealthSummary withWarning(Integer warning)
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
warning
- Yellow. The health agent is reporting a moderate number of request failures or other issues for an
instance or environment.public void setDegraded(Integer degraded)
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
degraded
- Red. The health agent is reporting a high number of request failures or other issues for an
instance or environment.public Integer getDegraded()
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
public InstanceHealthSummary withDegraded(Integer degraded)
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
degraded
- Red. The health agent is reporting a high number of request failures or other issues for an
instance or environment.public void setSevere(Integer severe)
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
severe
- Red. The health agent is reporting a very high number of request failures or other issues for an
instance or environment.public Integer getSevere()
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
public InstanceHealthSummary withSevere(Integer severe)
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
severe
- Red. The health agent is reporting a very high number of request failures or other issues for an
instance or environment.public String toString()
toString
in class Object
Object.toString()
public InstanceHealthSummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.