Interface Notification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Notification.Builder,,Notification> SdkBuilder<Notification.Builder,,Notification> SdkPojo
- Enclosing class:
Notification
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the notification.content(Map<LocaleCode, String> content) The localized content of the notification.contentWithStrings(Map<String, String> content) The localized content of the notification.The timestamp when the notification was created.The timestamp when the notification expires and is no longer displayed to users.The unique identifier for the notification.lastModifiedRegion(String lastModifiedRegion) The AWS Region where the notification was last modified.lastModifiedTime(Instant lastModifiedTime) The timestamp when the notification was last modified.The priority level of the notification.priority(NotificationPriority priority) The priority level of the notification.recipients(String... recipients) A list of Amazon Resource Names (ARNs) identifying the recipients of the notification.recipients(Collection<String> recipients) A list of Amazon Resource Names (ARNs) identifying the recipients of the notification.The tags used to organize, track, or control access for this resource.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
-
contentWithStrings
The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale.
- Parameters:
content- The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale.
- Parameters:
content- The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the notification.
- Parameters:
id- The unique identifier for the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the notification.
- Parameters:
arn- The Amazon Resource Name (ARN) of the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority level of the notification. Valid values are URGENT, HIGH, and LOW.
- Parameters:
priority- The priority level of the notification. Valid values are URGENT, HIGH, and LOW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The priority level of the notification. Valid values are URGENT, HIGH, and LOW.
- Parameters:
priority- The priority level of the notification. Valid values are URGENT, HIGH, and LOW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recipients
A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Maximum of 200 recipients.
- Parameters:
recipients- A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Maximum of 200 recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipients
A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Maximum of 200 recipients.
- Parameters:
recipients- A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Maximum of 200 recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp when the notification was last modified.
- Parameters:
lastModifiedTime- The timestamp when the notification was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the notification was created.
- Parameters:
createdAt- The timestamp when the notification was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The timestamp when the notification expires and is no longer displayed to users.
- Parameters:
expiresAt- The timestamp when the notification expires and is no longer displayed to users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
The AWS Region where the notification was last modified.
- Parameters:
lastModifiedRegion- The AWS Region where the notification was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }.- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example,{ "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-