@Generated(value="software.amazon.awssdk:codegen") public class DescribeEnvironmentHealthResponse extends ElasticBeanstalkResponse implements ToCopyableBuilder<DescribeEnvironmentHealthResponse.Builder,DescribeEnvironmentHealthResponse>
Health details for an AWS Elastic Beanstalk environment.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeEnvironmentHealthResponse.Builder |
Modifier and Type | Method and Description |
---|---|
ApplicationMetrics |
applicationMetrics()
Application request metrics for the environment.
|
static DescribeEnvironmentHealthResponse.Builder |
builder() |
List<String> |
causes()
Descriptions of the data that contributed to the environment's current health status.
|
String |
color()
The health color
of the environment.
|
String |
environmentName()
The environment's name.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
healthStatus()
The health status
of the environment.
|
InstanceHealthSummary |
instancesHealth()
Summary health information for the instances in the environment.
|
Instant |
refreshedAt()
The date and time that the health information was retrieved.
|
static Class<? extends DescribeEnvironmentHealthResponse.Builder> |
serializableBuilderClass() |
EnvironmentHealth |
status()
The environment's operational status.
|
String |
statusString()
The environment's operational status.
|
DescribeEnvironmentHealthResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String environmentName()
The environment's name.
public String healthStatus()
The health status
of the environment. For example, Ok
.
Ok
.public EnvironmentHealth status()
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
If the service returns an enum value that is not available in the current SDK version, status
will
return EnvironmentHealth.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public String statusString()
The environment's operational status. Ready
, Launching
, Updating
,
Terminating
, or Terminated
.
If the service returns an enum value that is not available in the current SDK version, status
will
return EnvironmentHealth.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
Ready
, Launching
, Updating
,
Terminating
, or Terminated
.EnvironmentHealth
public String color()
The health color of the environment.
public List<String> causes()
Descriptions of the data that contributed to the environment's current health status.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ApplicationMetrics applicationMetrics()
Application request metrics for the environment.
public InstanceHealthSummary instancesHealth()
Summary health information for the instances in the environment.
public Instant refreshedAt()
The date and time that the health information was retrieved.
public DescribeEnvironmentHealthResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeEnvironmentHealthResponse.Builder,DescribeEnvironmentHealthResponse>
toBuilder
in class AwsResponse
public static DescribeEnvironmentHealthResponse.Builder builder()
public static Class<? extends DescribeEnvironmentHealthResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.