Interface ContainerInstanceHealthStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContainerInstanceHealthStatus.Builder,
,ContainerInstanceHealthStatus> SdkBuilder<ContainerInstanceHealthStatus.Builder,
,ContainerInstanceHealthStatus> SdkPojo
- Enclosing class:
ContainerInstanceHealthStatus
public static interface ContainerInstanceHealthStatus.Builder
extends SdkPojo, CopyableBuilder<ContainerInstanceHealthStatus.Builder,ContainerInstanceHealthStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondetails
(Collection<InstanceHealthCheckResult> details) An array of objects representing the details of the container instance health status.details
(Consumer<InstanceHealthCheckResult.Builder>... details) An array of objects representing the details of the container instance health status.details
(InstanceHealthCheckResult... details) An array of objects representing the details of the container instance health status.overallStatus
(String overallStatus) The overall health status of the container instance.overallStatus
(InstanceHealthCheckState overallStatus) The overall health status of the container instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
overallStatus
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
- Parameters:
overallStatus
- The overall health status of the container instance. This is an aggregate status of all container instance health checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overallStatus
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
- Parameters:
overallStatus
- The overall health status of the container instance. This is an aggregate status of all container instance health checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
details
An array of objects representing the details of the container instance health status.
- Parameters:
details
- An array of objects representing the details of the container instance health status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
An array of objects representing the details of the container instance health status.
- Parameters:
details
- An array of objects representing the details of the container instance health status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
ContainerInstanceHealthStatus.Builder details(Consumer<InstanceHealthCheckResult.Builder>... details) An array of objects representing the details of the container instance health status.
This is a convenience method that creates an instance of theInstanceHealthCheckResult.Builder
avoiding the need to create one manually viaInstanceHealthCheckResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(List<InstanceHealthCheckResult>)
.- Parameters:
details
- a consumer that will call methods onInstanceHealthCheckResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-