Class DescribeEnvironmentHealthResult

    • Constructor Detail

      • DescribeEnvironmentHealthResult

        public DescribeEnvironmentHealthResult()
    • Method Detail

      • 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.
      • 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​(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 -
      • 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 -
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object