Interface CspmHealthCheck.Builder

  • Method Details

    • connectorStatus

      CspmHealthCheck.Builder connectorStatus(String connectorStatus)

      The connectivity status of the connector.

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

      CspmHealthCheck.Builder connectorStatus(CspmConnectorStatus connectorStatus)

      The connectivity status of the connector.

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

      CspmHealthCheck.Builder message(String message)

      A message describing the reason for the current connector status.

      Parameters:
      message - A message describing the reason for the current connector status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastCheckedAt

      CspmHealthCheck.Builder lastCheckedAt(Instant lastCheckedAt)

      The ISO 8601 UTC timestamp indicating when the health status was last checked.

      Parameters:
      lastCheckedAt - The ISO 8601 UTC timestamp indicating when the health status was last checked.
      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.

      Parameters:
      issues - A list of health issues associated with the connector.
      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.

      Parameters:
      issues - A list of health issues associated with the connector.
      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.

      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: