@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()
For responses, this returns true if the service returned a value for the Causes property.
|
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 final String environmentName()
The environment's name.
public final String healthStatus()
The health
status of the environment. For example, Ok.
Ok.public final 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 final 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 final String color()
The health color of the environment.
public final boolean hasCauses()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCauses() method.
public final ApplicationMetrics applicationMetrics()
Application request metrics for the environment.
public final InstanceHealthSummary instancesHealth()
Summary health information for the instances in the environment.
public final 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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.