Interface UpdateInstanceHealthChecksRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateInstanceHealthChecksRequest.Builder,,UpdateInstanceHealthChecksRequest> SdkBuilder<UpdateInstanceHealthChecksRequest.Builder,,UpdateInstanceHealthChecksRequest> SdkPojo
- Enclosing class:
UpdateInstanceHealthChecksRequest
-
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. If you omit this object, health monitoring is turned off.
- 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. If you omit this object, health monitoring is turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthMonitoring
default UpdateInstanceHealthChecksRequest.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. If you omit this object, health monitoring is turned off.
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. If you omit this object, deep health checks are turned off.
- 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. If you omit this object, deep health checks are turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepHealthChecks
default UpdateInstanceHealthChecksRequest.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. If you omit this object, deep health checks are turned off.
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:
-