Interface AlertSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AlertSummary.Builder,,AlertSummary> SdkBuilder<AlertSummary.Builder,,AlertSummary> SdkPojo
- Enclosing class:
AlertSummary
@Mutable
@NotThreadSafe
public static interface AlertSummary.Builder
extends SdkPojo, CopyableBuilder<AlertSummary.Builder,AlertSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the alert.The stable alert identifier (seeAlert.alertId).The timestamp when the alert was created.The name of the alert.notificationStatus(String notificationStatus) Whether notifications are enabled.notificationStatus(NotificationStatus notificationStatus) Whether notifications are enabled.The ID of the access profile associated with the alert.The ID of the space the alert belongs to.default AlertSummary.Builderstate(Consumer<AlertStateInfo.Builder> state) Live evaluation state (read-only, system-managed).state(AlertStateInfo state) Live evaluation state (read-only, system-managed).The timestamp when the alert was last updated.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
-
name
The name of the alert.
- Parameters:
name- The name of the alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertId
The stable alert identifier (see
Alert.alertId). Use it to address the alert; it is also the ARN's resource id.- Parameters:
alertId- The stable alert identifier (seeAlert.alertId). Use it to address the alert; it is also the ARN's resource id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceId
The ID of the space the alert belongs to.
- Parameters:
spaceId- The ID of the space the alert belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileId
The ID of the access profile associated with the alert.
- Parameters:
profileId- The ID of the access profile associated with the alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationStatus
Whether notifications are enabled.
- Parameters:
notificationStatus- Whether notifications are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notificationStatus
Whether notifications are enabled.
- Parameters:
notificationStatus- Whether notifications are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Live evaluation state (read-only, system-managed).
- Parameters:
state- Live evaluation state (read-only, system-managed).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Live evaluation state (read-only, system-managed).
This is a convenience method that creates an instance of theAlertStateInfo.Builderavoiding the need to create one manually viaAlertStateInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(AlertStateInfo).- Parameters:
state- a consumer that will call methods onAlertStateInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the alert was created.
- Parameters:
createdAt- The timestamp when the alert was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the alert was last updated.
- Parameters:
updatedAt- The timestamp when the alert was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertArn
The Amazon Resource Name (ARN) of the alert.
- Parameters:
alertArn- The Amazon Resource Name (ARN) of the alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-