Interface ApplicationStatusDetail.Builder

  • Method Details

    • applicationStatusCheckId

      ApplicationStatusDetail.Builder applicationStatusCheckId(String applicationStatusCheckId)

      The ID of the application status check.

      Parameters:
      applicationStatusCheckId - The ID of the application status check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checkUpdateTime

      ApplicationStatusDetail.Builder checkUpdateTime(Instant checkUpdateTime)

      The date and time when the check was last updated.

      Parameters:
      checkUpdateTime - The date and time when the check was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregation

      ApplicationStatusDetail.Builder aggregation(String aggregation)

      The aggregation setting for the application status check. When set to included, the result of this check contributes to the instance-level application status. When set to excluded, the check runs independently and does not affect the instance-level status.

      Parameters:
      aggregation - The aggregation setting for the application status check. When set to included, the result of this check contributes to the instance-level application status. When set to excluded, the check runs independently and does not affect the instance-level status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregation

      The aggregation setting for the application status check. When set to included, the result of this check contributes to the instance-level application status. When set to excluded, the check runs independently and does not affect the instance-level status.

      Parameters:
      aggregation - The aggregation setting for the application status check. When set to included, the result of this check contributes to the instance-level application status. When set to excluded, the check runs independently and does not affect the instance-level status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the individual application status check. Possible values:

      • passed – The check reached its success threshold.

      • failed – The check reached its failure threshold.

      • initializing – The check is initializing or has not reached a success or failure threshold.

      • insufficient-data – The check does not have enough data to determine a result.

      • not-applicable – The check does not apply to the instance.

      This value reflects the check result and is not affected by aggregation or suppression.

      Parameters:
      status - The status of the individual application status check. Possible values:

      • passed – The check reached its success threshold.

      • failed – The check reached its failure threshold.

      • initializing – The check is initializing or has not reached a success or failure threshold.

      • insufficient-data – The check does not have enough data to determine a result.

      • not-applicable – The check does not apply to the instance.

      This value reflects the check result and is not affected by aggregation or suppression.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the individual application status check. Possible values:

      • passed – The check reached its success threshold.

      • failed – The check reached its failure threshold.

      • initializing – The check is initializing or has not reached a success or failure threshold.

      • insufficient-data – The check does not have enough data to determine a result.

      • not-applicable – The check does not apply to the instance.

      This value reflects the check result and is not affected by aggregation or suppression.

      Parameters:
      status - The status of the individual application status check. Possible values:

      • passed – The check reached its success threshold.

      • failed – The check reached its failure threshold.

      • initializing – The check is initializing or has not reached a success or failure threshold.

      • insufficient-data – The check does not have enough data to determine a result.

      • not-applicable – The check does not apply to the instance.

      This value reflects the check result and is not affected by aggregation or suppression.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusTimeStamp

      ApplicationStatusDetail.Builder statusTimeStamp(Instant statusTimeStamp)

      The date and time of the last status update for this check.

      Parameters:
      statusTimeStamp - The date and time of the last status update for this check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusSince

      ApplicationStatusDetail.Builder statusSince(Instant statusSince)

      The date and time when the current status started for this check.

      Parameters:
      statusSince - The date and time when the current status started for this check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      The reason for the current status.

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

      The reason for the current status.

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

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

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