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() |
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() |
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) |
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) |
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) |
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) |
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.EnvironmentHealth
public String getStatus()
Returns the health status value of the environment. For more information, see Health Colors and Statuses.
EnvironmentHealth
public 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.EnvironmentHealth
public 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.EnvironmentHealth
public 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.EnvironmentHealth
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.
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
- public ApplicationMetrics getApplicationMetrics()
public DescribeEnvironmentHealthResult withApplicationMetrics(ApplicationMetrics applicationMetrics)
applicationMetrics
- public void setInstancesHealth(InstanceHealthSummary instancesHealth)
instancesHealth
- public InstanceHealthSummary getInstancesHealth()
public DescribeEnvironmentHealthResult withInstancesHealth(InstanceHealthSummary instancesHealth)
instancesHealth
- 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 Object
Object.toString()
public DescribeEnvironmentHealthResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.