Interface InstanceHealthChecks.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceHealthChecks.Builder,,InstanceHealthChecks> SdkBuilder<InstanceHealthChecks.Builder,,InstanceHealthChecks> SdkPojo
- Enclosing class:
InstanceHealthChecks
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceHealthChecks.BuilderdeepHealthChecks(Consumer<DeepHealthChecks.Builder> deepHealthChecks) The deep health check settings.deepHealthChecks(DeepHealthChecks deepHealthChecks) The deep health check settings.default InstanceHealthChecks.BuilderhealthMonitoring(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.
- Parameters:
healthMonitoring- The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthMonitoring
default InstanceHealthChecks.Builder healthMonitoring(Consumer<HealthMonitoring.Builder> healthMonitoring) The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults.
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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepHealthChecks
default InstanceHealthChecks.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.
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:
-