@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEnvironmentHealthResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Health details for an AWS Elastic Beanstalk environment.
Constructor and Description |
---|
DescribeEnvironmentHealthResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentHealthResult |
clone() |
boolean |
equals(Object obj) |
ApplicationMetrics |
getApplicationMetrics()
Application request metrics for the environment.
|
List<String> |
getCauses()
Descriptions of the data that contributed to the environment's current health status.
|
String |
getColor()
The health color
of the environment.
|
String |
getEnvironmentName()
The environment's name.
|
String |
getHealthStatus()
The health status
of the environment.
|
InstanceHealthSummary |
getInstancesHealth()
Summary health information for the instances in the environment.
|
Date |
getRefreshedAt()
The date and time that the health information was retrieved.
|
String |
getStatus()
The environment's operational status.
|
int |
hashCode() |
void |
setApplicationMetrics(ApplicationMetrics applicationMetrics)
Application request metrics for the environment.
|
void |
setCauses(Collection<String> causes)
Descriptions of the data that contributed to the environment's current health status.
|
void |
setColor(String color)
The health color
of the environment.
|
void |
setEnvironmentName(String environmentName)
The environment's name.
|
void |
setHealthStatus(String healthStatus)
The health status
of the environment.
|
void |
setInstancesHealth(InstanceHealthSummary instancesHealth)
Summary health information for the instances in the environment.
|
void |
setRefreshedAt(Date refreshedAt)
The date and time that the health information was retrieved.
|
void |
setStatus(EnvironmentHealth status)
The environment's operational status.
|
void |
setStatus(String status)
The environment's operational status.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEnvironmentHealthResult |
withApplicationMetrics(ApplicationMetrics applicationMetrics)
Application request metrics for the environment.
|
DescribeEnvironmentHealthResult |
withCauses(Collection<String> causes)
Descriptions of the data that contributed to the environment's current health status.
|
DescribeEnvironmentHealthResult |
withCauses(String... causes)
Descriptions of the data that contributed to the environment's current health status.
|
DescribeEnvironmentHealthResult |
withColor(String color)
The health color
of the environment.
|
DescribeEnvironmentHealthResult |
withEnvironmentName(String environmentName)
The environment's name.
|
DescribeEnvironmentHealthResult |
withHealthStatus(String healthStatus)
The health status
of the environment.
|
DescribeEnvironmentHealthResult |
withInstancesHealth(InstanceHealthSummary instancesHealth)
Summary health information for the instances in the environment.
|
DescribeEnvironmentHealthResult |
withRefreshedAt(Date refreshedAt)
The date and time that the health information was retrieved.
|
DescribeEnvironmentHealthResult |
withStatus(EnvironmentHealth status)
The environment's operational status.
|
DescribeEnvironmentHealthResult |
withStatus(String status)
The environment's operational status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEnvironmentName(String environmentName)
The environment's name.
environmentName
- The environment's name.public String getEnvironmentName()
The environment's name.
public DescribeEnvironmentHealthResult withEnvironmentName(String environmentName)
The environment's name.
environmentName
- The environment's name.public void setHealthStatus(String healthStatus)
The health status
of the environment. For example, Ok
.
healthStatus
- The health
status of the environment. For example, Ok
.public String getHealthStatus()
The health status
of the environment. For example, Ok
.
Ok
.public DescribeEnvironmentHealthResult withHealthStatus(String healthStatus)
The health status
of the environment. For example, Ok
.
healthStatus
- The health
status of the environment. For example, Ok
.public void setStatus(String status)
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
status
- The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public String getStatus()
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public DescribeEnvironmentHealthResult withStatus(String status)
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
status
- The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public void setStatus(EnvironmentHealth status)
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
status
- The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public DescribeEnvironmentHealthResult withStatus(EnvironmentHealth status)
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
status
- The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public void setColor(String color)
The health color of the environment.
color
- The health
color of the environment.public String getColor()
The health color of the environment.
public DescribeEnvironmentHealthResult withColor(String color)
The health color of the environment.
color
- The health
color of the environment.public List<String> getCauses()
Descriptions of the data that contributed to the environment's current health status.
public void setCauses(Collection<String> causes)
Descriptions of the data that contributed to the environment's current health status.
causes
- Descriptions of the data that contributed to the environment's current health status.public DescribeEnvironmentHealthResult withCauses(String... causes)
Descriptions of the data that contributed to the environment's current health 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
- Descriptions of the data that contributed to the environment's current health status.public DescribeEnvironmentHealthResult withCauses(Collection<String> causes)
Descriptions of the data that contributed to the environment's current health status.
causes
- Descriptions of the data that contributed to the environment's current health status.public void setApplicationMetrics(ApplicationMetrics applicationMetrics)
Application request metrics for the environment.
applicationMetrics
- Application request metrics for the environment.public ApplicationMetrics getApplicationMetrics()
Application request metrics for the environment.
public DescribeEnvironmentHealthResult withApplicationMetrics(ApplicationMetrics applicationMetrics)
Application request metrics for the environment.
applicationMetrics
- Application request metrics for the environment.public void setInstancesHealth(InstanceHealthSummary instancesHealth)
Summary health information for the instances in the environment.
instancesHealth
- Summary health information for the instances in the environment.public InstanceHealthSummary getInstancesHealth()
Summary health information for the instances in the environment.
public DescribeEnvironmentHealthResult withInstancesHealth(InstanceHealthSummary instancesHealth)
Summary health information for the instances in the environment.
instancesHealth
- Summary health information for the instances in the environment.public void setRefreshedAt(Date refreshedAt)
The date and time that the health information was retrieved.
refreshedAt
- The date and time that the health information was retrieved.public Date getRefreshedAt()
The date and time that the health information was retrieved.
public DescribeEnvironmentHealthResult withRefreshedAt(Date refreshedAt)
The date and time that the health information was retrieved.
refreshedAt
- The date and time that the health information was retrieved.public String toString()
toString
in class Object
Object.toString()
public DescribeEnvironmentHealthResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.