public class DescribeEnvironmentHealthResult extends Object implements Serializable, Cloneable
See the example below for a sample response.
| Constructor and Description |
|---|
DescribeEnvironmentHealthResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeEnvironmentHealthResult |
clone() |
boolean |
equals(Object obj) |
ApplicationMetrics |
getApplicationMetrics()
Returns the value of the ApplicationMetrics property for this object.
|
List<String> |
getCauses()
Returns potential causes for the reported status.
|
String |
getColor()
Returns the color indicator that tells you information about the health
of the environment.
|
String |
getEnvironmentName()
The AWS Elastic Beanstalk environment name.
|
String |
getHealthStatus()
Contains the response body with information about the health of the
environment.
|
InstanceHealthSummary |
getInstancesHealth()
Returns the value of the InstancesHealth property for this object.
|
Date |
getRefreshedAt()
The date and time the information was last refreshed.
|
String |
getStatus()
Returns the health status value of the environment.
|
int |
hashCode() |
void |
setApplicationMetrics(ApplicationMetrics applicationMetrics)
Sets the value of the ApplicationMetrics property for this object.
|
void |
setCauses(Collection<String> causes)
Returns potential causes for the reported status.
|
void |
setColor(String color)
Returns the color indicator that tells you information about the health
of the environment.
|
void |
setEnvironmentName(String environmentName)
The AWS Elastic Beanstalk environment name.
|
void |
setHealthStatus(String healthStatus)
Contains the response body with information about the health of the
environment.
|
void |
setInstancesHealth(InstanceHealthSummary instancesHealth)
Sets the value of the InstancesHealth property for this object.
|
void |
setRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
|
void |
setStatus(EnvironmentHealth status)
Returns the health status value of the environment.
|
void |
setStatus(String status)
Returns the health status value of the environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEnvironmentHealthResult |
withApplicationMetrics(ApplicationMetrics applicationMetrics)
Sets the value of the ApplicationMetrics property for this object.
|
DescribeEnvironmentHealthResult |
withCauses(Collection<String> causes)
Returns potential causes for the reported status.
|
DescribeEnvironmentHealthResult |
withCauses(String... causes)
Returns potential causes for the reported status.
|
DescribeEnvironmentHealthResult |
withColor(String color)
Returns the color indicator that tells you information about the health
of the environment.
|
DescribeEnvironmentHealthResult |
withEnvironmentName(String environmentName)
The AWS Elastic Beanstalk environment name.
|
DescribeEnvironmentHealthResult |
withHealthStatus(String healthStatus)
Contains the response body with information about the health of the
environment.
|
DescribeEnvironmentHealthResult |
withInstancesHealth(InstanceHealthSummary instancesHealth)
Sets the value of the InstancesHealth property for this object.
|
DescribeEnvironmentHealthResult |
withRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
|
DescribeEnvironmentHealthResult |
withStatus(EnvironmentHealth status)
Returns the health status value of the environment.
|
DescribeEnvironmentHealthResult |
withStatus(String status)
Returns the health status value of the environment.
|
public void setEnvironmentName(String environmentName)
The AWS Elastic Beanstalk environment name.
environmentName - The AWS Elastic Beanstalk environment name.public String getEnvironmentName()
The AWS Elastic Beanstalk environment name.
public DescribeEnvironmentHealthResult withEnvironmentName(String environmentName)
The AWS Elastic Beanstalk environment name.
environmentName - The AWS Elastic Beanstalk environment name.public void setHealthStatus(String healthStatus)
Contains the response body with information about the health of the environment.
healthStatus - Contains the response body with information about the health of
the environment.public String getHealthStatus()
Contains the response body with information about the health of the environment.
public DescribeEnvironmentHealthResult withHealthStatus(String healthStatus)
Contains the response body with information about the health of the environment.
healthStatus - Contains the response body with information about the health of
the environment.public void setStatus(String status)
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
status - Returns the health status value of the environment. For more
information, see Health Colors and Statuses.EnvironmentHealthpublic String getStatus()
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
EnvironmentHealthpublic DescribeEnvironmentHealthResult withStatus(String status)
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
status - Returns the health status value of the environment. For more
information, see Health Colors and Statuses.EnvironmentHealthpublic void setStatus(EnvironmentHealth status)
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
status - Returns the health status value of the environment. For more
information, see Health Colors and Statuses.EnvironmentHealthpublic DescribeEnvironmentHealthResult withStatus(EnvironmentHealth status)
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
status - Returns the health status value of the environment. For more
information, see Health Colors and Statuses.EnvironmentHealthpublic 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.
color - Returns the color indicator that tells you information about the
health of the environment. For more information, see Health Colors and Statuses.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.
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.
color - Returns the color indicator that tells you information about the
health of the environment. For more information, see Health Colors and Statuses.public List<String> getCauses()
Returns potential causes for the reported status.
public void setCauses(Collection<String> causes)
Returns potential causes for the reported status.
causes - Returns potential causes for the reported status.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.
causes - Returns potential causes for the reported status.public DescribeEnvironmentHealthResult withCauses(Collection<String> causes)
Returns potential causes for the reported status.
causes - Returns potential causes for the reported status.public void setApplicationMetrics(ApplicationMetrics applicationMetrics)
applicationMetrics - The new value for the ApplicationMetrics property for this object.public ApplicationMetrics getApplicationMetrics()
public DescribeEnvironmentHealthResult withApplicationMetrics(ApplicationMetrics applicationMetrics)
applicationMetrics - The new value for the ApplicationMetrics property for this object.public void setInstancesHealth(InstanceHealthSummary instancesHealth)
instancesHealth - The new value for the InstancesHealth property for this object.public InstanceHealthSummary getInstancesHealth()
public DescribeEnvironmentHealthResult withInstancesHealth(InstanceHealthSummary instancesHealth)
instancesHealth - The new value for the InstancesHealth property for this object.public void setRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
refreshedAt - The date and time the information was last refreshed.public Date getRefreshedAt()
The date and time the information was last refreshed.
public DescribeEnvironmentHealthResult withRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
refreshedAt - The date and time the information was last refreshed.public String toString()
toString in class ObjectObject.toString()public DescribeEnvironmentHealthResult clone()
Copyright © 2015. All rights reserved.