Interface ApplicationStatus.Builder

  • Method Details

    • status

      The current instance-level application status. This status is derived from application status checks with Aggregation set to included. Possible values:

      • ok – All included checks passed.

      • impaired – At least one included check failed.

      • initializing – At least one included check is initializing, and no included check is impaired.

      • insufficient-data – At least one included check has insufficient data, and no included check is impaired or initializing.

      • not-applicable – No checks with Aggregation set to included apply to the instance.

      • suppressed – Application status reporting is suppressed for the instance.

      Checks with Aggregation set to excluded do not affect this value.

      Parameters:
      status - The current instance-level application status. This status is derived from application status checks with Aggregation set to included. Possible values:

      • ok – All included checks passed.

      • impaired – At least one included check failed.

      • initializing – At least one included check is initializing, and no included check is impaired.

      • insufficient-data – At least one included check has insufficient data, and no included check is impaired or initializing.

      • not-applicable – No checks with Aggregation set to included apply to the instance.

      • suppressed – Application status reporting is suppressed for the instance.

      Checks with Aggregation set to excluded do not affect this value.

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

      The current instance-level application status. This status is derived from application status checks with Aggregation set to included. Possible values:

      • ok – All included checks passed.

      • impaired – At least one included check failed.

      • initializing – At least one included check is initializing, and no included check is impaired.

      • insufficient-data – At least one included check has insufficient data, and no included check is impaired or initializing.

      • not-applicable – No checks with Aggregation set to included apply to the instance.

      • suppressed – Application status reporting is suppressed for the instance.

      Checks with Aggregation set to excluded do not affect this value.

      Parameters:
      status - The current instance-level application status. This status is derived from application status checks with Aggregation set to included. Possible values:

      • ok – All included checks passed.

      • impaired – At least one included check failed.

      • initializing – At least one included check is initializing, and no included check is impaired.

      • insufficient-data – At least one included check has insufficient data, and no included check is impaired or initializing.

      • not-applicable – No checks with Aggregation set to included apply to the instance.

      • suppressed – Application status reporting is suppressed for the instance.

      Checks with Aggregation set to excluded do not affect this value.

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

      ApplicationStatus.Builder statusTimeStamp(Instant statusTimeStamp)

      The date and time of the last status update.

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

      ApplicationStatus.Builder statusSince(Instant statusSince)

      The date and time when the current status started.

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

      ApplicationStatus.Builder resumeAt(Instant resumeAt)

      The date and time when application status reporting resumes after suppression.

      Parameters:
      resumeAt - The date and time when application status reporting resumes after suppression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Details about the application status checks for the instance.

      Parameters:
      details - Details about the application status checks for the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Details about the application status checks for the instance.

      Parameters:
      details - Details about the application status checks for the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Details about the application status checks for the instance.

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

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

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