@Generated(value="software.amazon.awssdk:codegen") public final 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) |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeEnvironmentHealthResponse.Builder> |
serializableBuilderClass() |
EnvironmentHealth |
status()
The environment's operational status.
|
String |
statusAsString()
The environment's operational status.
|
DescribeEnvironmentHealthResponse.Builder |
toBuilder() |
String |
toString() |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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
statusAsString().
Ready, Launching, Updating,
Terminating, or Terminated.EnvironmentHealthpublic String statusAsString()
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
statusAsString().
Ready, Launching, Updating,
Terminating, or Terminated.EnvironmentHealthpublic 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()
toBuilder in interface ToCopyableBuilder<DescribeEnvironmentHealthResponse.Builder,DescribeEnvironmentHealthResponse>toBuilder in class AwsResponsepublic static DescribeEnvironmentHealthResponse.Builder builder()
public static Class<? extends DescribeEnvironmentHealthResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.