Interface Notification.Builder

  • Method Details

    • contentWithStrings

      Notification.Builder contentWithStrings(Map<String,String> 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.
    • 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

      Notification.Builder priority(String 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

      Notification.Builder recipients(Collection<String> 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

      Notification.Builder recipients(String... 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

      Notification.Builder lastModifiedTime(Instant 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

      Notification.Builder createdAt(Instant 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

      Notification.Builder expiresAt(Instant 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

      Notification.Builder lastModifiedRegion(String 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.