public static interface SNSTopicPublishAction.Builder extends SdkPojo, CopyableBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>
| Modifier and Type | Method and Description |
|---|---|
default SNSTopicPublishAction.Builder |
payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
SNSTopicPublishAction.Builder |
payload(Payload payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
SNSTopicPublishAction.Builder |
targetArn(String targetArn)
The ARN of the Amazon SNS target where the message is sent.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSNSTopicPublishAction.Builder targetArn(String targetArn)
The ARN of the Amazon SNS target where the message is sent.
targetArn - The ARN of the Amazon SNS target where the message is sent.SNSTopicPublishAction.Builder payload(Payload payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
payload - You can configure the action payload when you send a message as an Amazon SNS push notification.default SNSTopicPublishAction.Builder payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
This is a convenience that creates an instance of thePayload.Builder avoiding the need to create one
manually via Payload.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to payload(Payload).payload - a consumer that will call methods on Payload.Builderpayload(Payload)Copyright © 2022. All rights reserved.