Interface MonitoringAlertSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringAlertSummary.Builder,
,MonitoringAlertSummary> SdkBuilder<MonitoringAlertSummary.Builder,
,MonitoringAlertSummary> SdkPojo
- Enclosing class:
MonitoringAlertSummary
public static interface MonitoringAlertSummary.Builder
extends SdkPojo, CopyableBuilder<MonitoringAlertSummary.Builder,MonitoringAlertSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonitoringAlertSummary.Builder
actions
(Consumer<MonitoringAlertActions.Builder> actions) A list of alert actions taken in response to an alert going intoInAlert
status.actions
(MonitoringAlertActions actions) A list of alert actions taken in response to an alert going intoInAlert
status.alertStatus
(String alertStatus) The current status of an alert.alertStatus
(MonitoringAlertStatus alertStatus) The current status of an alert.creationTime
(Instant creationTime) A timestamp that indicates when a monitor alert was created.datapointsToAlert
(Integer datapointsToAlert) WithinEvaluationPeriod
, how many execution failures will raise an alert.evaluationPeriod
(Integer evaluationPeriod) The number of most recent monitoring executions to consider when evaluating alert status.lastModifiedTime
(Instant lastModifiedTime) A timestamp that indicates when a monitor alert was last updated.monitoringAlertName
(String monitoringAlertName) The name of a monitoring alert.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monitoringAlertName
The name of a monitoring alert.
- Parameters:
monitoringAlertName
- The name of a monitoring alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
A timestamp that indicates when a monitor alert was created.
- Parameters:
creationTime
- A timestamp that indicates when a monitor alert was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
A timestamp that indicates when a monitor alert was last updated.
- Parameters:
lastModifiedTime
- A timestamp that indicates when a monitor alert was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertStatus
The current status of an alert.
- Parameters:
alertStatus
- The current status of an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alertStatus
The current status of an alert.
- Parameters:
alertStatus
- The current status of an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datapointsToAlert
Within
EvaluationPeriod
, how many execution failures will raise an alert.- Parameters:
datapointsToAlert
- WithinEvaluationPeriod
, how many execution failures will raise an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationPeriod
The number of most recent monitoring executions to consider when evaluating alert status.
- Parameters:
evaluationPeriod
- The number of most recent monitoring executions to consider when evaluating alert status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of alert actions taken in response to an alert going into
InAlert
status.- Parameters:
actions
- A list of alert actions taken in response to an alert going intoInAlert
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of alert actions taken in response to an alert going into
This is a convenience method that creates an instance of theInAlert
status.MonitoringAlertActions.Builder
avoiding the need to create one manually viaMonitoringAlertActions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(MonitoringAlertActions)
.- Parameters:
actions
- a consumer that will call methods onMonitoringAlertActions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-