Interface DescribeEnvironmentHealthResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEnvironmentHealthResponse.Builder,
,DescribeEnvironmentHealthResponse> ElasticBeanstalkResponse.Builder
,SdkBuilder<DescribeEnvironmentHealthResponse.Builder,
,DescribeEnvironmentHealthResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEnvironmentHealthResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationMetrics
(Consumer<ApplicationMetrics.Builder> applicationMetrics) Application request metrics for the environment.applicationMetrics
(ApplicationMetrics applicationMetrics) Application request metrics for the environment.Descriptions of the data that contributed to the environment's current health status.causes
(Collection<String> causes) Descriptions of the data that contributed to the environment's current health status.The health color of the environment.environmentName
(String environmentName) The environment's name.healthStatus
(String healthStatus) The health status of the environment.instancesHealth
(Consumer<InstanceHealthSummary.Builder> instancesHealth) Summary health information for the instances in the environment.instancesHealth
(InstanceHealthSummary instancesHealth) Summary health information for the instances in the environment.refreshedAt
(Instant refreshedAt) The date and time that the health information was retrieved.The environment's operational status.status
(EnvironmentHealth status) The environment's operational status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
environmentName
The environment's name.
- Parameters:
environmentName
- The environment's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthStatus
The health status of the environment. For example,
Ok
.- Parameters:
healthStatus
- The health status of the environment. For example,Ok
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The environment's operational status.
Ready
,Launching
,Updating
,Terminating
, orTerminated
.- Parameters:
status
- The environment's operational status.Ready
,Launching
,Updating
,Terminating
, orTerminated
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The environment's operational status.
Ready
,Launching
,Updating
,Terminating
, orTerminated
.- Parameters:
status
- The environment's operational status.Ready
,Launching
,Updating
,Terminating
, orTerminated
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
color
The health color of the environment.
- Parameters:
color
- The health color of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
causes
Descriptions of the data that contributed to the environment's current health status.
- Parameters:
causes
- Descriptions of the data that contributed to the environment's current health status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
causes
Descriptions of the data that contributed to the environment's current health status.
- Parameters:
causes
- Descriptions of the data that contributed to the environment's current health status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationMetrics
Application request metrics for the environment.
- Parameters:
applicationMetrics
- Application request metrics for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationMetrics
default DescribeEnvironmentHealthResponse.Builder applicationMetrics(Consumer<ApplicationMetrics.Builder> applicationMetrics) Application request metrics for the environment.
This is a convenience method that creates an instance of theApplicationMetrics.Builder
avoiding the need to create one manually viaApplicationMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationMetrics(ApplicationMetrics)
.- Parameters:
applicationMetrics
- a consumer that will call methods onApplicationMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instancesHealth
Summary health information for the instances in the environment.
- Parameters:
instancesHealth
- Summary health information for the instances in the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesHealth
default DescribeEnvironmentHealthResponse.Builder instancesHealth(Consumer<InstanceHealthSummary.Builder> instancesHealth) Summary health information for the instances in the environment.
This is a convenience method that creates an instance of theInstanceHealthSummary.Builder
avoiding the need to create one manually viaInstanceHealthSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstancesHealth(InstanceHealthSummary)
.- Parameters:
instancesHealth
- a consumer that will call methods onInstanceHealthSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
refreshedAt
The date and time that the health information was retrieved.
- Parameters:
refreshedAt
- The date and time that the health information was retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-