Interface InstanceHealthChecksRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceHealthChecksRequest.Builder,,InstanceHealthChecksRequest> SdkBuilder<InstanceHealthChecksRequest.Builder,,InstanceHealthChecksRequest> SdkPojo
- Enclosing class:
InstanceHealthChecksRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeepHealthChecks(Consumer<DeepHealthChecks.Builder> deepHealthChecks) The deep health check settings.deepHealthChecks(DeepHealthChecks deepHealthChecks) The deep health check settings.healthMonitoring(Consumer<HealthMonitoring.Builder> healthMonitoring) The health monitoring settings.healthMonitoring(HealthMonitoring healthMonitoring) The health monitoring settings.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
-
healthMonitoring
The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults. If you specify this object, it can't be empty.
- Parameters:
healthMonitoring- The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults. If you specify this object, it can't be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthMonitoring
default InstanceHealthChecksRequest.Builder healthMonitoring(Consumer<HealthMonitoring.Builder> healthMonitoring) The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults. If you specify this object, it can't be empty.
This is a convenience method that creates an instance of theHealthMonitoring.Builderavoiding the need to create one manually viaHealthMonitoring.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthMonitoring(HealthMonitoring).- Parameters:
healthMonitoring- a consumer that will call methods onHealthMonitoring.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deepHealthChecks
The deep health check settings. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs. If you specify this object, it can't be empty.
- Parameters:
deepHealthChecks- The deep health check settings. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs. If you specify this object, it can't be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepHealthChecks
default InstanceHealthChecksRequest.Builder deepHealthChecks(Consumer<DeepHealthChecks.Builder> deepHealthChecks) The deep health check settings. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs. If you specify this object, it can't be empty.
This is a convenience method that creates an instance of theDeepHealthChecks.Builderavoiding the need to create one manually viaDeepHealthChecks.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeepHealthChecks(DeepHealthChecks).- Parameters:
deepHealthChecks- a consumer that will call methods onDeepHealthChecks.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-