Interface CreateNotificationRequest.Builder

  • Method Details

    • instanceId

      CreateNotificationRequest.Builder instanceId(String instanceId)

      The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

      Parameters:
      instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      The timestamp when the notification should expire and no longer be displayed to users. If not specified, defaults to one week from creation.

      Parameters:
      expiresAt - The timestamp when the notification should expire and no longer be displayed to users. If not specified, defaults to one week from creation.
      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. Can include user ARNs or instance ARNs to target all users in an instance. Maximum of 200 recipients.

      Parameters:
      recipients - A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Can include user ARNs or instance ARNs to target all users in an instance. Maximum of 200 recipients.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recipients

      CreateNotificationRequest.Builder recipients(String... recipients)

      A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Can include user ARNs or instance ARNs to target all users in an instance. Maximum of 200 recipients.

      Parameters:
      recipients - A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Can include user ARNs or instance ARNs to target all users in an instance. Maximum of 200 recipients.
      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 HIGH and LOW. High priority notifications are displayed above low priority notifications.

      Parameters:
      priority - The priority level of the notification. Valid values are HIGH and LOW. High priority notifications are displayed above low priority notifications.
      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 HIGH and LOW. High priority notifications are displayed above low priority notifications.

      Parameters:
      priority - The priority level of the notification. Valid values are HIGH and LOW. High priority notifications are displayed above low priority notifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentWithStrings

      CreateNotificationRequest.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. Content supports markdown formatting and embedded links. Maximum 250 characters per 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. Content supports markdown formatting and embedded links. Maximum 250 characters per 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. Content supports markdown formatting and embedded links. Maximum 250 characters per 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. Content supports markdown formatting and embedded links. Maximum 250 characters per locale.
      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.
    • predefinedNotificationId

      CreateNotificationRequest.Builder predefinedNotificationId(String predefinedNotificationId)
      Sets the value of the PredefinedNotificationId property for this object.
      Parameters:
      predefinedNotificationId - The new value for the PredefinedNotificationId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateNotificationRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.