Class SlackChannelConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.supportapp.SlackChannelConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SlackChannelConfigurationReference>
- Enclosing interface:
SlackChannelConfigurationReference
@Stability(Stable)
public static final class SlackChannelConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<SlackChannelConfigurationReference>
A builder for
SlackChannelConfigurationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSlackChannelConfigurationReference.getChannelId()Sets the value ofSlackChannelConfigurationReference.getTeamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelId
Sets the value ofSlackChannelConfigurationReference.getChannelId()- Parameters:
channelId- The ChannelId of the SlackChannelConfiguration resource. This parameter is required.- Returns:
this
-
teamId
Sets the value ofSlackChannelConfigurationReference.getTeamId()- Parameters:
teamId- The TeamId of the SlackChannelConfiguration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SlackChannelConfigurationReference>- Returns:
- a new instance of
SlackChannelConfigurationReference - Throws:
NullPointerException- if any required attribute was not provided
-