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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    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.
    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.
    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
     
    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
    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
    Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
    void
    Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
    Returns a string representation of this object; useful for testing and debugging.
    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.
    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.
    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.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • InstanceHealthSummary

      public InstanceHealthSummary()
  • Method Details

    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public InstanceHealthSummary clone()
      Overrides:
      clone in class Object