Interface ChannelContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelContext.Builder,,ChannelContext> SdkBuilder<ChannelContext.Builder,,ChannelContext> SdkPojo
- Enclosing class:
ChannelContext
@Mutable
@NotThreadSafe
public static interface ChannelContext.Builder
extends SdkPojo, CopyableBuilder<ChannelContext.Builder,ChannelContext>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelContext.BuilderwebNotificationContext(Consumer<WebNotificationContext.Builder> webNotificationContext) Sets the value of the WebNotificationContext property for this object.webNotificationContext(WebNotificationContext webNotificationContext) Sets the value of the WebNotificationContext 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
-
webNotificationContext
Sets the value of the WebNotificationContext property for this object.- Parameters:
webNotificationContext- The new value for the WebNotificationContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webNotificationContext
default ChannelContext.Builder webNotificationContext(Consumer<WebNotificationContext.Builder> webNotificationContext) Sets the value of the WebNotificationContext property for this object. This is a convenience method that creates an instance of theWebNotificationContext.Builderavoiding the need to create one manually viaWebNotificationContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebNotificationContext(WebNotificationContext).- Parameters:
webNotificationContext- a consumer that will call methods onWebNotificationContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-