Interface HealthCheck.Builder

  • Method Details

    • connectorStatus

      HealthCheck.Builder connectorStatus(String connectorStatus)

      The status of the connectorV2.

      Parameters:
      connectorStatus - The status of the connectorV2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectorStatus

      HealthCheck.Builder connectorStatus(ConnectorStatus connectorStatus)

      The status of the connectorV2.

      Parameters:
      connectorStatus - The status of the connectorV2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      HealthCheck.Builder message(String message)

      The message for the reason of connectorStatus change.

      Parameters:
      message - The message for the reason of connectorStatus change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastCheckedAt

      HealthCheck.Builder lastCheckedAt(Instant lastCheckedAt)

      ISO 8601 UTC timestamp for the time check the health status of the connectorV2.

      Parameters:
      lastCheckedAt - ISO 8601 UTC timestamp for the time check the health status of the connectorV2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issues

      A list of health issues associated with the connector, including error codes and messages.

      Parameters:
      issues - A list of health issues associated with the connector, including error codes and messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issues

      HealthCheck.Builder issues(HealthIssue... issues)

      A list of health issues associated with the connector, including error codes and messages.

      Parameters:
      issues - A list of health issues associated with the connector, including error codes and messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issues

      A list of health issues associated with the connector, including error codes and messages.

      This is a convenience method that creates an instance of the HealthIssue.Builder avoiding the need to create one manually via HealthIssue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to issues(List<HealthIssue>).

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