Class InstanceHealthSummary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
    • Constructor Detail

      • InstanceHealthSummary

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

        public int hashCode()
        Overrides:
        hashCode in class Object