Interface HealthStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthStatus.Builder,,HealthStatus> SdkBuilder<HealthStatus.Builder,,HealthStatus> SdkPojo
- Enclosing class:
HealthStatus
-
Method Summary
Modifier and TypeMethodDescriptionlastRefreshedAt(Instant lastRefreshedAt) The timestamp when the health status was last refreshed.statusCode(String statusCode) The health status code.statusCode(HealthStatusCode statusCode) The health status code.statusReasons(Collection<StatusReason> statusReasons) The list of reasons for the current health status.statusReasons(StatusReason... statusReasons) The list of reasons for the current health status.statusReasonsWithStrings(String... statusReasons) The list of reasons for the current health status.statusReasonsWithStrings(Collection<String> statusReasons) The list of reasons for the current health status.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
-
statusCode
The health status code.
HEALTHYindicates the scheduled report is configured properly and has all required permissions to execute.UNHEALTHYindicates 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.HEALTHYindicates the scheduled report is configured properly and has all required permissions to execute.UNHEALTHYindicates 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
The health status code.
HEALTHYindicates the scheduled report is configured properly and has all required permissions to execute.UNHEALTHYindicates 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.HEALTHYindicates the scheduled report is configured properly and has all required permissions to execute.UNHEALTHYindicates 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
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
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 isUNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasonsWithStrings
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 isUNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 isUNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 isUNHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-