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