@Stability(value=Stable) public static final class SubscriptionOptions.Builder extends Object implements software.amazon.jsii.Builder<SubscriptionOptions>
SubscriptionOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public SubscriptionOptions.Builder endpoint(String endpoint)
SubscriptionOptions.getEndpoint()endpoint - The subscription endpoint. This parameter is required.
The meaning of this value depends on the value for 'protocol'.this@Stability(value=Stable) public SubscriptionOptions.Builder protocol(SubscriptionProtocol protocol)
SubscriptionOptions.getProtocol()protocol - What type of subscription to add. This parameter is required.this@Stability(value=Stable) public SubscriptionOptions.Builder deadLetterQueue(IQueue deadLetterQueue)
SubscriptionOptions.getDeadLetterQueue()deadLetterQueue - Queue to be used as dead letter queue.
If not passed no dead letter queue is enabled.this@Stability(value=Stable) public SubscriptionOptions.Builder filterPolicy(Map<String,? extends SubscriptionFilter> filterPolicy)
SubscriptionOptions.getFilterPolicy()filterPolicy - The filter policy.this@Stability(value=Stable) public SubscriptionOptions.Builder rawMessageDelivery(Boolean rawMessageDelivery)
SubscriptionOptions.getRawMessageDelivery()rawMessageDelivery - true if raw message delivery is enabled for the subscription.
Raw messages are free of JSON formatting and can be
sent to HTTP/S and Amazon SQS endpoints. For more information, see GetSubscriptionAttributes in the Amazon Simple
Notification Service API Reference.this@Stability(value=Stable) public SubscriptionOptions.Builder region(String region)
SubscriptionOptions.getRegion()region - The region where the topic resides, in the case of cross-region subscriptions.this@Stability(value=Stable) public SubscriptionOptions.Builder subscriptionRoleArn(String subscriptionRoleArn)
SubscriptionOptions.getSubscriptionRoleArn()subscriptionRoleArn - Arn of role allowing access to firehose delivery stream.
Required for a firehose subscription protocol.this@Stability(value=Stable) public SubscriptionOptions build()
build in interface software.amazon.jsii.Builder<SubscriptionOptions>SubscriptionOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.