@Stability(value=Experimental) @Internal public static final class SubscriptionOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SubscriptionOptions
SubscriptionOptionssoftware.amazon.jsii.JsiiObject.InitializationModeSubscriptionOptions.Builder, SubscriptionOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String endpoint,
SubscriptionProtocol protocol,
IQueue deadLetterQueue,
Map<String,? extends SubscriptionFilter> filterPolicy,
Boolean rawMessageDelivery,
String region)
Constructor that initializes the object based on literal property values passed by the
SubscriptionOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IQueue |
getDeadLetterQueue()
(experimental) Queue to be used as dead letter queue.
|
String |
getEndpoint()
(experimental) The subscription endpoint.
|
Map<String,SubscriptionFilter> |
getFilterPolicy()
(experimental) The filter policy.
|
SubscriptionProtocol |
getProtocol()
(experimental) What type of subscription to add.
|
Boolean |
getRawMessageDelivery()
(experimental) true if raw message delivery is enabled for the subscription.
|
String |
getRegion()
(experimental) The region where the topic resides, in the case of cross-region subscriptions.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String endpoint, SubscriptionProtocol protocol, IQueue deadLetterQueue, Map<String,? extends SubscriptionFilter> filterPolicy, Boolean rawMessageDelivery, String region)
SubscriptionOptions.Builder.public final String getEndpoint()
SubscriptionOptionsThe meaning of this value depends on the value for 'protocol'.
getEndpoint in interface SubscriptionOptionspublic final SubscriptionProtocol getProtocol()
SubscriptionOptionsgetProtocol in interface SubscriptionOptionspublic final IQueue getDeadLetterQueue()
SubscriptionOptionsIf not passed no dead letter queue is enabled.
Default: - No dead letter queue enabled.
getDeadLetterQueue in interface SubscriptionOptionspublic final Map<String,SubscriptionFilter> getFilterPolicy()
SubscriptionOptionsDefault: - all messages are delivered
getFilterPolicy in interface SubscriptionOptionspublic final Boolean getRawMessageDelivery()
SubscriptionOptionsRaw 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.
Default: false
getRawMessageDelivery in interface SubscriptionOptionspublic final String getRegion()
SubscriptionOptionsDefault: - the region where the CloudFormation stack is being deployed.
getRegion in interface SubscriptionOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.