@Stability(value=Stable) public static final class CfnSubscriptionDefinition.SubscriptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSubscriptionDefinition.SubscriptionProperty>
CfnSubscriptionDefinition.SubscriptionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSubscriptionDefinition.SubscriptionProperty |
build()
Builds the configured instance.
|
CfnSubscriptionDefinition.SubscriptionProperty.Builder |
id(String id)
Sets the value of
CfnSubscriptionDefinition.SubscriptionProperty.getId() |
CfnSubscriptionDefinition.SubscriptionProperty.Builder |
source(String source)
Sets the value of
CfnSubscriptionDefinition.SubscriptionProperty.getSource() |
CfnSubscriptionDefinition.SubscriptionProperty.Builder |
subject(String subject)
Sets the value of
CfnSubscriptionDefinition.SubscriptionProperty.getSubject() |
CfnSubscriptionDefinition.SubscriptionProperty.Builder |
target(String target)
Sets the value of
CfnSubscriptionDefinition.SubscriptionProperty.getTarget() |
@Stability(value=Stable) public CfnSubscriptionDefinition.SubscriptionProperty.Builder id(String id)
CfnSubscriptionDefinition.SubscriptionProperty.getId()id - A descriptive or arbitrary ID for the subscription. This parameter is required.
This value must be unique within the subscription definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+ .this@Stability(value=Stable) public CfnSubscriptionDefinition.SubscriptionProperty.Builder source(String source)
CfnSubscriptionDefinition.SubscriptionProperty.getSource()source - The originator of the message. This parameter is required.
The value can be a thing ARN, the ARN of a Lambda function alias (recommended) or version, a connector ARN, cloud (which represents the AWS IoT cloud), or GGShadowService .this@Stability(value=Stable) public CfnSubscriptionDefinition.SubscriptionProperty.Builder subject(String subject)
CfnSubscriptionDefinition.SubscriptionProperty.getSubject()subject - The MQTT topic used to route the message. This parameter is required.this@Stability(value=Stable) public CfnSubscriptionDefinition.SubscriptionProperty.Builder target(String target)
CfnSubscriptionDefinition.SubscriptionProperty.getTarget()target - The destination of the message. This parameter is required.
The value can be a thing ARN, the ARN of a Lambda function alias (recommended) or version, a connector ARN, cloud (which represents the AWS IoT cloud), or GGShadowService .this@Stability(value=Stable) public CfnSubscriptionDefinition.SubscriptionProperty build()
build in interface software.amazon.jsii.Builder<CfnSubscriptionDefinition.SubscriptionProperty>CfnSubscriptionDefinition.SubscriptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.