Interface LambdaEventSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaEventSource.Builder,LambdaEventSource>,SdkBuilder<LambdaEventSource.Builder,LambdaEventSource>,SdkPojo
- Enclosing class:
- LambdaEventSource
public static interface LambdaEventSource.Builder extends SdkPojo, CopyableBuilder<LambdaEventSource.Builder,LambdaEventSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LambdaEventSource.Buildertopic(String topic)The topic to which to subscribe to receive event messages.LambdaEventSource.Buildertype(String type)The type of event source.LambdaEventSource.Buildertype(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, sdkFields
-
-
-
-
Method Detail
-
topic
LambdaEventSource.Builder topic(String 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
LambdaEventSource.Builder type(String 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:
LambdaEventSourceType,LambdaEventSourceType
-
-
type
LambdaEventSource.Builder type(LambdaEventSourceType 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:
LambdaEventSourceType,LambdaEventSourceType
-
-
-