Interface LambdaEventSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaEventSource.Builder,
,LambdaEventSource> SdkBuilder<LambdaEventSource.Builder,
,LambdaEventSource> SdkPojo
- Enclosing class:
LambdaEventSource
-
Method Summary
Modifier and TypeMethodDescriptionThe topic to which to subscribe to receive event messages.The type of event source.type
(LambdaEventSourceType type) The type of event source.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, sdkFieldNameToField, sdkFields
-
Method Details
-
topic
The topic to which to subscribe to receive event messages.
- Parameters:
topic
- The topic to which to subscribe to receive event messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of event source. Choose from the following options:
-
PUB_SUB
– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+
and#
) in the event source topic. -
IOT_CORE
– Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+
and#
) in the event source topic.
- Parameters:
type
- The type of event source. Choose from the following options:-
PUB_SUB
– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+
and#
) in the event source topic. -
IOT_CORE
– Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+
and#
) in the event source topic.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of event source. Choose from the following options:
-
PUB_SUB
– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+
and#
) in the event source topic. -
IOT_CORE
– Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+
and#
) in the event source topic.
- Parameters:
type
- The type of event source. Choose from the following options:-
PUB_SUB
– Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+
and#
) in the event source topic. -
IOT_CORE
– Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+
and#
) in the event source topic.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-