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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeEnvironmentHealthResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEnvironmentHealthResultclone()booleanequals(Object obj)ApplicationMetricsgetApplicationMetrics()List<String>getCauses()Returns potential causes for the reported status.StringgetColor()Returns the color indicator that tells you information about the health of the environment.StringgetEnvironmentName()The AWS Elastic Beanstalk environment name.StringgetHealthStatus()Contains the response body with information about the health of the environment.InstanceHealthSummarygetInstancesHealth()DategetRefreshedAt()The date and time the information was last refreshed.StringgetStatus()Returns the health status value of the environment.inthashCode()voidsetApplicationMetrics(ApplicationMetrics applicationMetrics)voidsetCauses(Collection<String> causes)Returns potential causes for the reported status.voidsetColor(String color)Returns the color indicator that tells you information about the health of the environment.voidsetEnvironmentName(String environmentName)The AWS Elastic Beanstalk environment name.voidsetHealthStatus(String healthStatus)Contains the response body with information about the health of the environment.voidsetInstancesHealth(InstanceHealthSummary instancesHealth)voidsetRefreshedAt(Date refreshedAt)The date and time the information was last refreshed.voidsetStatus(EnvironmentHealth status)Returns the health status value of the environment.voidsetStatus(String status)Returns the health status value of the environment.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeEnvironmentHealthResultwithApplicationMetrics(ApplicationMetrics applicationMetrics)DescribeEnvironmentHealthResultwithCauses(String... causes)Returns potential causes for the reported status.DescribeEnvironmentHealthResultwithCauses(Collection<String> causes)Returns potential causes for the reported status.DescribeEnvironmentHealthResultwithColor(String color)Returns the color indicator that tells you information about the health of the environment.DescribeEnvironmentHealthResultwithEnvironmentName(String environmentName)The AWS Elastic Beanstalk environment name.DescribeEnvironmentHealthResultwithHealthStatus(String healthStatus)Contains the response body with information about the health of the environment.DescribeEnvironmentHealthResultwithInstancesHealth(InstanceHealthSummary instancesHealth)DescribeEnvironmentHealthResultwithRefreshedAt(Date refreshedAt)The date and time the information was last refreshed.DescribeEnvironmentHealthResultwithStatus(EnvironmentHealth status)Returns the health status value of the environment.DescribeEnvironmentHealthResultwithStatus(String status)Returns the health status value of the environment.
-
-
-
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.
-
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:
EnvironmentHealth
-
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:
EnvironmentHealth
-
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:
EnvironmentHealth
-
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:
EnvironmentHealth
-
withStatus
public DescribeEnvironmentHealthResult withStatus(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentHealth
-
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)orwithCauses(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEnvironmentHealthResult clone()
-
-