Interface InstanceHealthChecksRequest.Builder

  • Method Details

    • healthMonitoring

      InstanceHealthChecksRequest.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.

      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 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

      InstanceHealthChecksRequest.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.

      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 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: