public static interface SendUsersMessageRequest.Builder extends SdkPojo, CopyableBuilder<SendUsersMessageRequest.Builder,SendUsersMessageRequest>
| Modifier and Type | Method and Description |
|---|---|
SendUsersMessageRequest.Builder |
context(Map<String,String> context)
A map of custom attribute-value pairs.
|
default SendUsersMessageRequest.Builder |
messageConfiguration(Consumer<DirectMessageConfiguration.Builder> messageConfiguration)
The settings and content for the default message and any default messages that you defined for specific
channels.
|
SendUsersMessageRequest.Builder |
messageConfiguration(DirectMessageConfiguration messageConfiguration)
The settings and content for the default message and any default messages that you defined for specific
channels.
|
default SendUsersMessageRequest.Builder |
templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
The message template to use for the message.
|
SendUsersMessageRequest.Builder |
templateConfiguration(TemplateConfiguration templateConfiguration)
The message template to use for the message.
|
SendUsersMessageRequest.Builder |
traceId(String traceId)
The unique identifier for tracing the message.
|
SendUsersMessageRequest.Builder |
users(Map<String,EndpointSendConfiguration> users)
A map that associates user IDs with EndpointSendConfiguration objects.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSendUsersMessageRequest.Builder context(Map<String,String> context)
A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.
context - A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes
to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides
these attributes in the events that it generates for users-messages deliveries.SendUsersMessageRequest.Builder messageConfiguration(DirectMessageConfiguration messageConfiguration)
The settings and content for the default message and any default messages that you defined for specific channels.
messageConfiguration - The settings and content for the default message and any default messages that you defined for
specific channels.default SendUsersMessageRequest.Builder messageConfiguration(Consumer<DirectMessageConfiguration.Builder> messageConfiguration)
The settings and content for the default message and any default messages that you defined for specific channels.
This is a convenience that creates an instance of theDirectMessageConfiguration.Builder avoiding the
need to create one manually via DirectMessageConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to messageConfiguration(DirectMessageConfiguration).messageConfiguration - a consumer that will call methods on DirectMessageConfiguration.BuildermessageConfiguration(DirectMessageConfiguration)SendUsersMessageRequest.Builder templateConfiguration(TemplateConfiguration templateConfiguration)
The message template to use for the message.
templateConfiguration - The message template to use for the message.default SendUsersMessageRequest.Builder templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
The message template to use for the message.
This is a convenience that creates an instance of theTemplateConfiguration.Builder avoiding the need
to create one manually via TemplateConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to templateConfiguration(TemplateConfiguration).templateConfiguration - a consumer that will call methods on TemplateConfiguration.BuildertemplateConfiguration(TemplateConfiguration)SendUsersMessageRequest.Builder traceId(String traceId)
The unique identifier for tracing the message. This identifier is visible to message recipients.
traceId - The unique identifier for tracing the message. This identifier is visible to message recipients.SendUsersMessageRequest.Builder users(Map<String,EndpointSendConfiguration> users)
A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.
users - A map that associates user IDs with EndpointSendConfiguration objects. You can use an
EndpointSendConfiguration object to tailor the message for a user by specifying settings such as
content overrides and message variables.Copyright © 2019. All rights reserved.