Class CfnAssociationPropsMixin.SlackChannelProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsagent.mixins.CfnAssociationPropsMixin.SlackChannelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.SlackChannelProperty>
- Enclosing interface:
CfnAssociationPropsMixin.SlackChannelProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.SlackChannelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.SlackChannelProperty>
A builder for
CfnAssociationPropsMixin.SlackChannelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAssociationPropsMixin.SlackChannelProperty.getChannelId()channelName(String channelName) Sets the value ofCfnAssociationPropsMixin.SlackChannelProperty.getChannelName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelId
@Stability(Stable) public CfnAssociationPropsMixin.SlackChannelProperty.Builder channelId(String channelId) Sets the value ofCfnAssociationPropsMixin.SlackChannelProperty.getChannelId()- Parameters:
channelId- Slack channel ID.- Returns:
this
-
channelName
@Stability(Stable) public CfnAssociationPropsMixin.SlackChannelProperty.Builder channelName(String channelName) Sets the value ofCfnAssociationPropsMixin.SlackChannelProperty.getChannelName()- Parameters:
channelName- Slack channel name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.SlackChannelProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.SlackChannelProperty - Throws:
NullPointerException- if any required attribute was not provided
-