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