@Stability(value=Stable) public static final class CfnTopic.SubscriptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTopic.SubscriptionProperty>
CfnTopic.SubscriptionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTopic.SubscriptionProperty |
build()
Builds the configured instance.
|
CfnTopic.SubscriptionProperty.Builder |
endpoint(String endpoint)
Sets the value of
CfnTopic.SubscriptionProperty.getEndpoint() |
CfnTopic.SubscriptionProperty.Builder |
protocol(String protocol)
Sets the value of
CfnTopic.SubscriptionProperty.getProtocol() |
@Stability(value=Stable) public CfnTopic.SubscriptionProperty.Builder endpoint(String endpoint)
CfnTopic.SubscriptionProperty.getEndpoint()endpoint - The endpoint that receives notifications from the Amazon SNS topic. This parameter is required.
The endpoint value depends on the protocol that you specify. For more information, see the Endpoint parameter of the [Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html) action in the Amazon SNS API Reference .this@Stability(value=Stable) public CfnTopic.SubscriptionProperty.Builder protocol(String protocol)
CfnTopic.SubscriptionProperty.getProtocol()protocol - The subscription's protocol. This parameter is required.
For more information, see the Protocol parameter of the [Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html) action in the Amazon SNS API Reference .this@Stability(value=Stable) public CfnTopic.SubscriptionProperty build()
build in interface software.amazon.jsii.Builder<CfnTopic.SubscriptionProperty>CfnTopic.SubscriptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.