Interface ApplicationStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationStatus.Builder,,ApplicationStatus> SdkBuilder<ApplicationStatus.Builder,,ApplicationStatus> SdkPojo
- Enclosing class:
ApplicationStatus
-
Method Summary
Modifier and TypeMethodDescriptiondetails(Collection<ApplicationStatusDetail> details) Details about the application status checks for the instance.details(Consumer<ApplicationStatusDetail.Builder>... details) Details about the application status checks for the instance.details(ApplicationStatusDetail... details) Details about the application status checks for the instance.The date and time when application status reporting resumes after suppression.The current instance-level application status.status(ApplicationStatusEnum status) The current instance-level application status.statusSince(Instant statusSince) The date and time when the current status started.statusTimeStamp(Instant statusTimeStamp) The date and time of the last status update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The current instance-level application status. This status is derived from application status checks with
Aggregationset toincluded. 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 withAggregationset toincludedapply to the instance. -
suppressed– Application status reporting is suppressed for the instance.
Checks with
Aggregationset toexcludeddo not affect this value.- Parameters:
status- The current instance-level application status. This status is derived from application status checks withAggregationset toincluded. 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 withAggregationset toincludedapply to the instance. -
suppressed– Application status reporting is suppressed for the instance.
Checks with
Aggregationset toexcludeddo 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
Aggregationset toincluded. 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 withAggregationset toincludedapply to the instance. -
suppressed– Application status reporting is suppressed for the instance.
Checks with
Aggregationset toexcludeddo not affect this value.- Parameters:
status- The current instance-level application status. This status is derived from application status checks withAggregationset toincluded. 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 withAggregationset toincludedapply to the instance. -
suppressed– Application status reporting is suppressed for the instance.
Checks with
Aggregationset toexcludeddo not affect this value.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
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
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 theApplicationStatusDetail.Builderavoiding the need to create one manually viaApplicationStatusDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(List<ApplicationStatusDetail>).- Parameters:
details- a consumer that will call methods onApplicationStatusDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-