Interface UpdateInstanceHealthChecksRequest.Builder

  • Method Details

    • healthMonitoring

      UpdateInstanceHealthChecksRequest.Builder healthMonitoring(HealthMonitoring 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 the HealthMonitoring.Builder avoiding the need to create one manually via HealthMonitoring.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to healthMonitoring(HealthMonitoring).

      Parameters:
      healthMonitoring - a consumer that will call methods on HealthMonitoring.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deepHealthChecks

      UpdateInstanceHealthChecksRequest.Builder deepHealthChecks(DeepHealthChecks 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 the DeepHealthChecks.Builder avoiding the need to create one manually via DeepHealthChecks.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deepHealthChecks(DeepHealthChecks).

      Parameters:
      deepHealthChecks - a consumer that will call methods on DeepHealthChecks.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: