Class InstanceHealthSummary
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.InstanceHealthSummary
-
- All Implemented Interfaces:
Serializable,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceHealthSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceHealthSummaryclone()booleanequals(Object obj)IntegergetDegraded()Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.IntegergetInfo()Green. An operation is in progress on an instance.IntegergetNoData()Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.IntegergetOk()Green. An instance is passing health checks and the health agent is not reporting any problems.IntegergetPending()Grey. An operation is in progress on an instance within the command timeout.IntegergetSevere()Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.IntegergetUnknown()Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.IntegergetWarning()Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.inthashCode()voidsetDegraded(Integer degraded)Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.voidsetInfo(Integer info)Green. An operation is in progress on an instance.voidsetNoData(Integer noData)Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.voidsetOk(Integer ok)Green. An instance is passing health checks and the health agent is not reporting any problems.voidsetPending(Integer pending)Grey. An operation is in progress on an instance within the command timeout.voidsetSevere(Integer severe)Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.voidsetUnknown(Integer unknown)Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.voidsetWarning(Integer warning)Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstanceHealthSummarywithDegraded(Integer degraded)Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.InstanceHealthSummarywithInfo(Integer info)Green. An operation is in progress on an instance.InstanceHealthSummarywithNoData(Integer noData)Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.InstanceHealthSummarywithOk(Integer ok)Green. An instance is passing health checks and the health agent is not reporting any problems.InstanceHealthSummarywithPending(Integer pending)Grey. An operation is in progress on an instance within the command timeout.InstanceHealthSummarywithSevere(Integer severe)Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.InstanceHealthSummarywithUnknown(Integer unknown)Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.InstanceHealthSummarywithWarning(Integer warning)Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
-
-
-
Method Detail
-
setNoData
public void setNoData(Integer noData)
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
- Parameters:
noData- Grey.
-
getNoData
public Integer getNoData()
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
- Returns:
- Grey.
-
withNoData
public InstanceHealthSummary withNoData(Integer noData)
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
public void setUnknown(Integer unknown)
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
- Parameters:
unknown- Grey.
-
getUnknown
public Integer getUnknown()
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
- Returns:
- Grey.
-
withUnknown
public InstanceHealthSummary withUnknown(Integer unknown)
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
public void setPending(Integer pending)
Grey. An operation is in progress on an instance within the command timeout.
- Parameters:
pending- Grey.
-
getPending
public Integer getPending()
Grey. An operation is in progress on an instance within the command timeout.
- Returns:
- Grey.
-
withPending
public InstanceHealthSummary withPending(Integer pending)
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
public void setOk(Integer ok)
Green. An instance is passing health checks and the health agent is not reporting any problems.
- Parameters:
ok- Green.
-
getOk
public Integer getOk()
Green. An instance is passing health checks and the health agent is not reporting any problems.
- Returns:
- Green.
-
withOk
public InstanceHealthSummary withOk(Integer ok)
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
public void setInfo(Integer info)
Green. An operation is in progress on an instance.
- Parameters:
info- Green.
-
getInfo
public Integer getInfo()
Green. An operation is in progress on an instance.
- Returns:
- Green.
-
withInfo
public InstanceHealthSummary withInfo(Integer info)
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
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.
- Parameters:
warning- Yellow.
-
getWarning
public Integer getWarning()
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
- Returns:
- Yellow.
-
withWarning
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.
- Parameters:
warning- Yellow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDegraded
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.
- Parameters:
degraded- Red.
-
getDegraded
public Integer getDegraded()
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
- Returns:
- Red.
-
withDegraded
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.
- Parameters:
degraded- Red.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSevere
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.
- Parameters:
severe- Red.
-
getSevere
public Integer 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
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.
- Parameters:
severe- Red.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceHealthSummary clone()
-
-