Class CfnSlackWorkspaceConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.supportapp.CfnSlackWorkspaceConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSlackWorkspaceConfigurationProps>
- Enclosing interface:
CfnSlackWorkspaceConfigurationProps
@Stability(Stable)
public static final class CfnSlackWorkspaceConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSlackWorkspaceConfigurationProps>
A builder for
CfnSlackWorkspaceConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSlackWorkspaceConfigurationProps.getTeamId()
Sets the value ofCfnSlackWorkspaceConfigurationProps.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
teamId
Sets the value ofCfnSlackWorkspaceConfigurationProps.getTeamId()
- Parameters:
teamId
- The team ID in Slack. This parameter is required. This ID uniquely identifies a Slack workspace, such asT012ABCDEFG
.- Returns:
this
-
versionId
Sets the value ofCfnSlackWorkspaceConfigurationProps.getVersionId()
- Parameters:
versionId
- An identifier used to update an existing Slack workspace configuration in AWS CloudFormation , such as100
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSlackWorkspaceConfigurationProps>
- Returns:
- a new instance of
CfnSlackWorkspaceConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-