Interface EventTriggerContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventTriggerContext.Builder,,EventTriggerContext> SdkBuilder<EventTriggerContext.Builder,,EventTriggerContext> SdkPojo
- Enclosing class:
EventTriggerContext
@Mutable
@NotThreadSafe
public static interface EventTriggerContext.Builder
extends SdkPojo, CopyableBuilder<EventTriggerContext.Builder,EventTriggerContext>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventTriggerContext.BuilderchannelContext(Consumer<ChannelContext.Builder> channelContext) Sets the value of the ChannelContext property for this object.channelContext(ChannelContext channelContext) Sets the value of the ChannelContext property for this object.sourceEvent(String sourceEvent) Sets the value of the SourceEvent property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceEvent
Sets the value of the SourceEvent property for this object.- Parameters:
sourceEvent- The new value for the SourceEvent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelContext
Sets the value of the ChannelContext property for this object.- Parameters:
channelContext- The new value for the ChannelContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelContext
Sets the value of the ChannelContext property for this object. This is a convenience method that creates an instance of theChannelContext.Builderavoiding the need to create one manually viaChannelContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelContext(ChannelContext).- Parameters:
channelContext- a consumer that will call methods onChannelContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-