public class InstanceHealthSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents summary information about the health of an instance. For more information, see Health Colors and Statuses.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
degraded
Red. The health agent is reporting a high number of request
failures or other issues for an instance or environment.
|
private java.lang.Integer |
info
Green. An operation is in progress on an instance.
|
private java.lang.Integer |
noData
Grey. AWS Elastic Beanstalk and the health agent are reporting no
data on an instance.
|
private java.lang.Integer |
ok
Green. An instance is passing health checks and the health agent
is not reporting any problems.
|
private java.lang.Integer |
pending
Grey. An operation is in progress on an instance within the
command timeout.
|
private java.lang.Integer |
severe
Red. The health agent is reporting a very high number of request
failures or other issues for an instance or environment.
|
private java.lang.Integer |
unknown
Grey. AWS Elastic Beanstalk and the health agent are reporting an
insufficient amount of data on an instance.
|
private java.lang.Integer |
warning
Yellow. The health agent is reporting a moderate number of request
failures or other issues for an instance or environment.
|
Constructor and Description |
---|
InstanceHealthSummary() |
Modifier and Type | Method and Description |
---|---|
InstanceHealthSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getDegraded()
Red. The health agent is reporting a high number of request
failures or other issues for an instance or environment.
|
java.lang.Integer |
getInfo()
Green. An operation is in progress on an instance.
|
java.lang.Integer |
getNoData()
Grey. AWS Elastic Beanstalk and the health agent are reporting no
data on an instance.
|
java.lang.Integer |
getOk()
Green. An instance is passing health checks and the health agent
is not reporting any problems.
|
java.lang.Integer |
getPending()
Grey. An operation is in progress on an instance within the
command timeout.
|
java.lang.Integer |
getSevere()
Red. The health agent is reporting a very high number of request
failures or other issues for an instance or environment.
|
java.lang.Integer |
getUnknown()
Grey. AWS Elastic Beanstalk and the health agent are reporting an
insufficient amount of data on an instance.
|
java.lang.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(java.lang.Integer degraded)
Red. The health agent is reporting a high number of request
failures or other issues for an instance or environment.
|
void |
setInfo(java.lang.Integer info)
Green. An operation is in progress on an instance.
|
void |
setNoData(java.lang.Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no
data on an instance.
|
void |
setOk(java.lang.Integer ok)
Green. An instance is passing health checks and the health agent
is not reporting any problems.
|
void |
setPending(java.lang.Integer pending)
Grey. An operation is in progress on an instance within the
command timeout.
|
void |
setSevere(java.lang.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(java.lang.Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an
insufficient amount of data on an instance.
|
void |
setWarning(java.lang.Integer warning)
Yellow. The health agent is reporting a moderate number of request
failures or other issues for an instance or environment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceHealthSummary |
withDegraded(java.lang.Integer degraded)
Red. The health agent is reporting a high number of request
failures or other issues for an instance or environment.
|
InstanceHealthSummary |
withInfo(java.lang.Integer info)
Green. An operation is in progress on an instance.
|
InstanceHealthSummary |
withNoData(java.lang.Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no
data on an instance.
|
InstanceHealthSummary |
withOk(java.lang.Integer ok)
Green. An instance is passing health checks and the health agent
is not reporting any problems.
|
InstanceHealthSummary |
withPending(java.lang.Integer pending)
Grey. An operation is in progress on an instance within the
command timeout.
|
InstanceHealthSummary |
withSevere(java.lang.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(java.lang.Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an
insufficient amount of data on an instance.
|
InstanceHealthSummary |
withWarning(java.lang.Integer warning)
Yellow. The health agent is reporting a moderate number of request
failures or other issues for an instance or environment.
|
private java.lang.Integer noData
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
private java.lang.Integer unknown
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
private java.lang.Integer pending
Grey. An operation is in progress on an instance within the command timeout.
private java.lang.Integer ok
Green. An instance is passing health checks and the health agent is not reporting any problems.
private java.lang.Integer info
Green. An operation is in progress on an instance.
private java.lang.Integer warning
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
private java.lang.Integer degraded
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
private java.lang.Integer severe
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
public void setNoData(java.lang.Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
noData
- Grey.public java.lang.Integer getNoData()
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
public InstanceHealthSummary withNoData(java.lang.Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
noData
- Grey.public void setUnknown(java.lang.Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
unknown
- Grey.public java.lang.Integer getUnknown()
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
public InstanceHealthSummary withUnknown(java.lang.Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
unknown
- Grey.public void setPending(java.lang.Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
pending
- Grey.public java.lang.Integer getPending()
Grey. An operation is in progress on an instance within the command timeout.
public InstanceHealthSummary withPending(java.lang.Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
pending
- Grey.public void setOk(java.lang.Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
ok
- Green.public java.lang.Integer getOk()
Green. An instance is passing health checks and the health agent is not reporting any problems.
public InstanceHealthSummary withOk(java.lang.Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
ok
- Green.public void setInfo(java.lang.Integer info)
Green. An operation is in progress on an instance.
info
- Green.public java.lang.Integer getInfo()
Green. An operation is in progress on an instance.
public InstanceHealthSummary withInfo(java.lang.Integer info)
Green. An operation is in progress on an instance.
info
- Green.public void setWarning(java.lang.Integer warning)
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
warning
- Yellow.public java.lang.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(java.lang.Integer warning)
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
warning
- Yellow.public void setDegraded(java.lang.Integer degraded)
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
degraded
- Red.public java.lang.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(java.lang.Integer degraded)
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
degraded
- Red.public void setSevere(java.lang.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.public java.lang.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(java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InstanceHealthSummary clone()
clone
in class java.lang.Object