Interface HealthStatus.Builder

  • Method Details

    • statusCode

      HealthStatus.Builder statusCode(String statusCode)

      The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.

      Parameters:
      statusCode - The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      HealthStatus.Builder statusCode(HealthStatusCode statusCode)

      The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.

      Parameters:
      statusCode - The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastRefreshedAt

      HealthStatus.Builder lastRefreshedAt(Instant lastRefreshedAt)

      The timestamp when the health status was last refreshed.

      Parameters:
      lastRefreshedAt - The timestamp when the health status was last refreshed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasonsWithStrings

      HealthStatus.Builder statusReasonsWithStrings(Collection<String> statusReasons)

      The list of reasons for the current health status. Only present when the status is UNHEALTHY.

      Parameters:
      statusReasons - The list of reasons for the current health status. Only present when the status is UNHEALTHY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasonsWithStrings

      HealthStatus.Builder statusReasonsWithStrings(String... statusReasons)

      The list of reasons for the current health status. Only present when the status is UNHEALTHY.

      Parameters:
      statusReasons - The list of reasons for the current health status. Only present when the status is UNHEALTHY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      HealthStatus.Builder statusReasons(Collection<StatusReason> statusReasons)

      The list of reasons for the current health status. Only present when the status is UNHEALTHY.

      Parameters:
      statusReasons - The list of reasons for the current health status. Only present when the status is UNHEALTHY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      HealthStatus.Builder statusReasons(StatusReason... statusReasons)

      The list of reasons for the current health status. Only present when the status is UNHEALTHY.

      Parameters:
      statusReasons - The list of reasons for the current health status. Only present when the status is UNHEALTHY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.