@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCauses()
Returns true if the Causes property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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()
Returns a string representation of this object.
|
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 boolean hasCauses()
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.
You can use hasCauses() to see if a value was sent in this field.
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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.