public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
Modifier and Type | Method and Description |
---|---|
Subscription.Builder |
id(String id)
A descriptive or arbitrary ID for the subscription.
|
Subscription.Builder |
source(String source)
The source of the subscription.
|
Subscription.Builder |
subject(String subject)
The subject of the message.
|
Subscription.Builder |
target(String target)
Where the message is sent to.
|
copy
applyMutation, build
Subscription.Builder id(String id)
id
- A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription
definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.Subscription.Builder source(String source)
source
- The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud'
(which represents the AWS IoT cloud), or 'GGShadowService'.Subscription.Builder subject(String subject)
subject
- The subject of the message.Subscription.Builder target(String target)
target
- Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud'
(which represents the AWS IoT cloud), or 'GGShadowService'.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.