Class DescribeEnvironmentHealthResult

java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentHealthResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeEnvironmentHealthResult extends Object implements Serializable, Cloneable

See the example below for a sample response.

See Also:
  • Constructor Details

    • DescribeEnvironmentHealthResult

      public DescribeEnvironmentHealthResult()
  • Method Details

    • setEnvironmentName

      public void setEnvironmentName(String environmentName)

      The AWS Elastic Beanstalk environment name.

      Parameters:
      environmentName - The AWS Elastic Beanstalk environment name.
    • getEnvironmentName

      public String getEnvironmentName()

      The AWS Elastic Beanstalk environment name.

      Returns:
      The AWS Elastic Beanstalk environment name.
    • withEnvironmentName

      public DescribeEnvironmentHealthResult withEnvironmentName(String environmentName)

      The AWS Elastic Beanstalk environment name.

      Parameters:
      environmentName - The AWS Elastic Beanstalk environment name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHealthStatus

      public void setHealthStatus(String healthStatus)

      Contains the response body with information about the health of the environment.

      Parameters:
      healthStatus - Contains the response body with information about the health of the environment.
    • getHealthStatus

      public String getHealthStatus()

      Contains the response body with information about the health of the environment.

      Returns:
      Contains the response body with information about the health of the environment.
    • withHealthStatus

      public DescribeEnvironmentHealthResult withHealthStatus(String healthStatus)

      Contains the response body with information about the health of the environment.

      Parameters:
      healthStatus - Contains the response body with information about the health of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      Returns the health status value of the environment. For more information, see Health Colors and Statuses.

      Parameters:
      status - Returns the health status value of the environment. For more information, see Health Colors and Statuses.
      See Also:
    • getStatus

      public String getStatus()

      Returns the health status value of the environment. For more information, see Health Colors and Statuses.

      Returns:
      Returns the health status value of the environment. For more information, see Health Colors and Statuses.
      See Also:
    • withStatus

      public DescribeEnvironmentHealthResult withStatus(String status)

      Returns the health status value of the environment. For more information, see Health Colors and Statuses.

      Parameters:
      status - Returns the health status value of the environment. For more information, see Health Colors and Statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(EnvironmentHealth status)

      Returns the health status value of the environment. For more information, see Health Colors and Statuses.

      Parameters:
      status - Returns the health status value of the environment. For more information, see Health Colors and Statuses.
      See Also:
    • withStatus

      Returns the health status value of the environment. For more information, see Health Colors and Statuses.

      Parameters:
      status - Returns the health status value of the environment. For more information, see Health Colors and Statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setColor

      public void setColor(String color)

      Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.

      Parameters:
      color - Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
    • getColor

      public String getColor()

      Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.

      Returns:
      Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
    • withColor

      public DescribeEnvironmentHealthResult withColor(String color)

      Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.

      Parameters:
      color - Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getCauses

      public List<String> getCauses()

      Returns potential causes for the reported status.

      Returns:
      Returns potential causes for the reported status.
    • setCauses

      public void setCauses(Collection<String> causes)

      Returns potential causes for the reported status.

      Parameters:
      causes - Returns potential causes for the reported status.
    • withCauses

      public DescribeEnvironmentHealthResult withCauses(String... causes)

      Returns potential causes for the reported status.

      NOTE: This method appends the values to the existing list (if any). Use setCauses(java.util.Collection) or withCauses(java.util.Collection) if you want to override the existing values.

      Parameters:
      causes - Returns potential causes for the reported status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withCauses

      public DescribeEnvironmentHealthResult withCauses(Collection<String> causes)

      Returns potential causes for the reported status.

      Parameters:
      causes - Returns potential causes for the reported status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setApplicationMetrics

      public void setApplicationMetrics(ApplicationMetrics applicationMetrics)
      Parameters:
      applicationMetrics -
    • getApplicationMetrics

      public ApplicationMetrics getApplicationMetrics()
      Returns:
    • withApplicationMetrics

      public DescribeEnvironmentHealthResult withApplicationMetrics(ApplicationMetrics applicationMetrics)
      Parameters:
      applicationMetrics -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInstancesHealth

      public void setInstancesHealth(InstanceHealthSummary instancesHealth)
      Parameters:
      instancesHealth -
    • getInstancesHealth

      public InstanceHealthSummary getInstancesHealth()
      Returns:
    • withInstancesHealth

      public DescribeEnvironmentHealthResult withInstancesHealth(InstanceHealthSummary instancesHealth)
      Parameters:
      instancesHealth -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRefreshedAt

      public void setRefreshedAt(Date refreshedAt)

      The date and time the information was last refreshed.

      Parameters:
      refreshedAt - The date and time the information was last refreshed.
    • getRefreshedAt

      public Date getRefreshedAt()

      The date and time the information was last refreshed.

      Returns:
      The date and time the information was last refreshed.
    • withRefreshedAt

      public DescribeEnvironmentHealthResult withRefreshedAt(Date refreshedAt)

      The date and time the information was last refreshed.

      Parameters:
      refreshedAt - The date and time the information was last refreshed.
      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

      Overrides:
      clone in class Object