CopyableBuilder<DescribeEnvironmentHealthResponse.Builder,DescribeEnvironmentHealthResponse>
, SdkBuilder<DescribeEnvironmentHealthResponse.Builder,DescribeEnvironmentHealthResponse>
public static interface DescribeEnvironmentHealthResponse.Builder extends CopyableBuilder<DescribeEnvironmentHealthResponse.Builder,DescribeEnvironmentHealthResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeEnvironmentHealthResponse.Builder |
applicationMetrics(ApplicationMetrics applicationMetrics) |
Application request metrics for the environment.
|
DescribeEnvironmentHealthResponse.Builder |
causes(String... causes) |
Descriptions of the data that contributed to the environment's current health status.
|
DescribeEnvironmentHealthResponse.Builder |
causes(Collection<String> causes) |
Descriptions of the data that contributed to the environment's current health status.
|
DescribeEnvironmentHealthResponse.Builder |
color(String color) |
The health
color of the environment.
|
DescribeEnvironmentHealthResponse.Builder |
environmentName(String environmentName) |
The environment's name.
|
DescribeEnvironmentHealthResponse.Builder |
healthStatus(String healthStatus) |
The health
status of the environment.
|
DescribeEnvironmentHealthResponse.Builder |
instancesHealth(InstanceHealthSummary instancesHealth) |
Summary health information for the instances in the environment.
|
DescribeEnvironmentHealthResponse.Builder |
refreshedAt(Date refreshedAt) |
The date and time that the health information was retrieved.
|
DescribeEnvironmentHealthResponse.Builder |
status(String status) |
The environment's operational status.
|
DescribeEnvironmentHealthResponse.Builder |
status(EnvironmentHealth status) |
The environment's operational status.
|
copy
apply, build
DescribeEnvironmentHealthResponse.Builder environmentName(String environmentName)
The environment's name.
environmentName
- The environment's name.DescribeEnvironmentHealthResponse.Builder healthStatus(String healthStatus)
The health
status of the environment. For example, Ok
.
healthStatus
- The health
status of the environment. For example, Ok
.DescribeEnvironmentHealthResponse.Builder status(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
DescribeEnvironmentHealthResponse.Builder status(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
DescribeEnvironmentHealthResponse.Builder color(String color)
The health color of the environment.
color
- The health
color of the environment.DescribeEnvironmentHealthResponse.Builder causes(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.DescribeEnvironmentHealthResponse.Builder causes(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.DescribeEnvironmentHealthResponse.Builder applicationMetrics(ApplicationMetrics applicationMetrics)
Application request metrics for the environment.
applicationMetrics
- Application request metrics for the environment.DescribeEnvironmentHealthResponse.Builder instancesHealth(InstanceHealthSummary instancesHealth)
Summary health information for the instances in the environment.
instancesHealth
- Summary health information for the instances in the environment.DescribeEnvironmentHealthResponse.Builder refreshedAt(Date refreshedAt)
The date and time that the health information was retrieved.
refreshedAt
- The date and time that the health information was retrieved.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.