Class CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelNamespacePropsMixin.HandlerConfigsProperty>
- Enclosing interface:
CfnChannelNamespacePropsMixin.HandlerConfigsProperty
@Stability(Stable)
public static final class CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelNamespacePropsMixin.HandlerConfigsProperty>
A builder for
CfnChannelNamespacePropsMixin.HandlerConfigsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.onPublish(IResolvable onPublish) Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnPublish()Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnPublish()onSubscribe(IResolvable onSubscribe) Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnSubscribe()Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnSubscribe()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
onPublish
@Stability(Stable) public CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder onPublish(IResolvable onPublish) Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnPublish()- Parameters:
onPublish- The configuration for theOnPublishhandler.- Returns:
this
-
onPublish
@Stability(Stable) public CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder onPublish(CfnChannelNamespacePropsMixin.HandlerConfigProperty onPublish) Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnPublish()- Parameters:
onPublish- The configuration for theOnPublishhandler.- Returns:
this
-
onSubscribe
@Stability(Stable) public CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder onSubscribe(IResolvable onSubscribe) Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnSubscribe()- Parameters:
onSubscribe- The configuration for theOnSubscribehandler.- Returns:
this
-
onSubscribe
@Stability(Stable) public CfnChannelNamespacePropsMixin.HandlerConfigsProperty.Builder onSubscribe(CfnChannelNamespacePropsMixin.HandlerConfigProperty onSubscribe) Sets the value ofCfnChannelNamespacePropsMixin.HandlerConfigsProperty.getOnSubscribe()- Parameters:
onSubscribe- The configuration for theOnSubscribehandler.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelNamespacePropsMixin.HandlerConfigsProperty>- Returns:
- a new instance of
CfnChannelNamespacePropsMixin.HandlerConfigsProperty - Throws:
NullPointerException- if any required attribute was not provided
-