Interface Subscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Subscription.Builder,
,Subscription> SdkBuilder<Subscription.Builder,
,Subscription> SdkPojo
- Enclosing class:
Subscription
public static interface Subscription.Builder
extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
-
Method Summary
Modifier and TypeMethodDescriptionA descriptive or arbitrary ID for the subscription.The source of the subscription.The MQTT topic used to route the message.Where the message is sent to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:_-]+''.- Parameters:
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:_-]+''.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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'.- Parameters:
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'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
The MQTT topic used to route the message.- Parameters:
subject
- The MQTT topic used to route the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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'.- Parameters:
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'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-