Interface InstanceHealthStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceHealthStatus.Builder,,InstanceHealthStatus> SdkBuilder<InstanceHealthStatus.Builder,,InstanceHealthStatus> SdkPojo
- Enclosing class:
InstanceHealthStatus
-
Method Summary
Modifier and TypeMethodDescriptiondetails(Collection<InstanceHealthStatusDetail> details) The system instance health or instance health.details(Consumer<InstanceHealthStatusDetail.Builder>... details) The system instance health or instance health.details(InstanceHealthStatusDetail... details) The system instance health or instance health.The status.status(InstanceHealthStatusValue status) The status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The status.
The following values are possible:
-
ok- All checks are passing. The instance is reachable. -
impaired- One or more checks have failed. -
initializing- The instance was recently started, and the checks are in progress. -
insufficient-data- There isn't enough data yet to determine the result. -
not-applicable- The check doesn't apply because the instance isn't running.
- Parameters:
status- The status.The following values are possible:
-
ok- All checks are passing. The instance is reachable. -
impaired- One or more checks have failed. -
initializing- The instance was recently started, and the checks are in progress. -
insufficient-data- There isn't enough data yet to determine the result. -
not-applicable- The check doesn't apply because the instance isn't running.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status.
The following values are possible:
-
ok- All checks are passing. The instance is reachable. -
impaired- One or more checks have failed. -
initializing- The instance was recently started, and the checks are in progress. -
insufficient-data- There isn't enough data yet to determine the result. -
not-applicable- The check doesn't apply because the instance isn't running.
- Parameters:
status- The status.The following values are possible:
-
ok- All checks are passing. The instance is reachable. -
impaired- One or more checks have failed. -
initializing- The instance was recently started, and the checks are in progress. -
insufficient-data- There isn't enough data yet to determine the result. -
not-applicable- The check doesn't apply because the instance isn't running.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
details
The system instance health or instance health.
- Parameters:
details- The system instance health or instance health.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
The system instance health or instance health.
- Parameters:
details- The system instance health or instance health.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
The system instance health or instance health.
This is a convenience method that creates an instance of theInstanceHealthStatusDetail.Builderavoiding the need to create one manually viaInstanceHealthStatusDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(List<InstanceHealthStatusDetail>).- Parameters:
details- a consumer that will call methods onInstanceHealthStatusDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-