Interface CreateNotificationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateNotificationRequest.Builder,,CreateNotificationRequest> SdkBuilder<CreateNotificationRequest.Builder,,CreateNotificationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateNotificationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.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 should expire and no longer be displayed to users.instanceId(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.predefinedNotificationId(String predefinedNotificationId) Sets the value of the PredefinedNotificationId property for this object.The priority level of the notification.priority(ConfigurableNotificationPriority 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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods 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
-
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-