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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerInstanceHealthStatus.Builder
details(Collection<InstanceHealthCheckResult> details)
An array of objects representing the details of the container instance health status.ContainerInstanceHealthStatus.Builder
details(Consumer<InstanceHealthCheckResult.Builder>... details)
An array of objects representing the details of the container instance health status.ContainerInstanceHealthStatus.Builder
details(InstanceHealthCheckResult... details)
An array of objects representing the details of the container instance health status.ContainerInstanceHealthStatus.Builder
overallStatus(String overallStatus)
The overall health status of the container instance.ContainerInstanceHealthStatus.Builder
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 Detail
-
overallStatus
ContainerInstanceHealthStatus.Builder overallStatus(String 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:
InstanceHealthCheckState
,InstanceHealthCheckState
-
overallStatus
ContainerInstanceHealthStatus.Builder overallStatus(InstanceHealthCheckState 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:
InstanceHealthCheckState
,InstanceHealthCheckState
-
details
ContainerInstanceHealthStatus.Builder details(Collection<InstanceHealthCheckResult> 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(InstanceHealthCheckResult... 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 to#details(List
.) - 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:
#details(java.util.Collection
)
-
-