Class InstanceHealthSummary
- All Implemented Interfaces:
Serializable
,Cloneable
Represents summary information about the health of an instance. For more information, see Health Colors and Statuses.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.getInfo()
Green. An operation is in progress on an instance.Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.getOk()
Green. An instance is passing health checks and the health agent is not reporting any problems.Grey. An operation is in progress on an instance within the command timeout.Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.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
Green. An operation is in progress on an instance.void
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.void
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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDegraded
(Integer degraded) Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.Green. An operation is in progress on an instance.withNoData
(Integer noData) Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.Green. An instance is passing health checks and the health agent is not reporting any problems.withPending
(Integer pending) Grey. An operation is in progress on an instance within the command timeout.withSevere
(Integer severe) Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.withUnknown
(Integer unknown) Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.withWarning
(Integer warning) Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
-
Constructor Details
-
InstanceHealthSummary
public InstanceHealthSummary()
-
-
Method Details
-
setNoData
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
- Parameters:
noData
- Grey.
-
getNoData
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
- Returns:
- Grey.
-
withNoData
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
- Parameters:
noData
- Grey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUnknown
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
- Parameters:
unknown
- Grey.
-
getUnknown
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
- Returns:
- Grey.
-
withUnknown
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
- Parameters:
unknown
- Grey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPending
Grey. An operation is in progress on an instance within the command timeout.
- Parameters:
pending
- Grey.
-
getPending
Grey. An operation is in progress on an instance within the command timeout.
- Returns:
- Grey.
-
withPending
Grey. An operation is in progress on an instance within the command timeout.
- Parameters:
pending
- Grey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOk
Green. An instance is passing health checks and the health agent is not reporting any problems.
- Parameters:
ok
- Green.
-
getOk
Green. An instance is passing health checks and the health agent is not reporting any problems.
- Returns:
- Green.
-
withOk
Green. An instance is passing health checks and the health agent is not reporting any problems.
- Parameters:
ok
- Green.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInfo
Green. An operation is in progress on an instance.
- Parameters:
info
- Green.
-
getInfo
Green. An operation is in progress on an instance.
- Returns:
- Green.
-
withInfo
Green. An operation is in progress on an instance.
- Parameters:
info
- Green.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWarning
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
- Parameters:
warning
- Yellow.
-
getWarning
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
- Returns:
- Yellow.
-
withWarning
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
- Parameters:
warning
- Yellow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDegraded
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
- Parameters:
degraded
- Red.
-
getDegraded
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
- Returns:
- Red.
-
withDegraded
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
- Parameters:
degraded
- Red.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSevere
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
- Parameters:
severe
- Red.
-
getSevere
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
- Returns:
- Red.
-
withSevere
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
- Parameters:
severe
- Red.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-