Class CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.chatbot.CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMicrosoftTeamsChannelConfigurationMixinProps>
- Enclosing interface:
CfnMicrosoftTeamsChannelConfigurationMixinProps
@Stability(Stable)
public static final class CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMicrosoftTeamsChannelConfigurationMixinProps>
A builder for
CfnMicrosoftTeamsChannelConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationName(String configurationName) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getConfigurationName()customizationResourceArns(List<String> customizationResourceArns) guardrailPolicies(List<String> guardrailPolicies) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getGuardrailPolicies()iamRoleArn(String iamRoleArn) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getIamRoleArn()loggingLevel(String loggingLevel) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getLoggingLevel()snsTopicArns(List<String> snsTopicArns) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getSnsTopicArns()Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTags()Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamId()teamsChannelId(String teamsChannelId) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamsChannelId()teamsChannelName(String teamsChannelName) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamsChannelName()teamsTenantId(String teamsTenantId) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamsTenantId()userRoleRequired(Boolean userRoleRequired) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getUserRoleRequired()userRoleRequired(IResolvable userRoleRequired) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getUserRoleRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationName
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder configurationName(String configurationName) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getConfigurationName()- Parameters:
configurationName- The name of the configuration.- Returns:
this
-
customizationResourceArns
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder customizationResourceArns(List<String> customizationResourceArns) - Parameters:
customizationResourceArns- Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .- Returns:
this
-
guardrailPolicies
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder guardrailPolicies(List<String> guardrailPolicies) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getGuardrailPolicies()- Parameters:
guardrailPolicies- The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.- Returns:
this
-
iamRoleArn
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder iamRoleArn(String iamRoleArn) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getIamRoleArn()- Parameters:
iamRoleArn- The ARN of the IAM role that defines the permissions for . This is a user-defined role that will assume. This is not the service-linked role. For more information, see IAM Policies for in chat applications .- Returns:
this
-
loggingLevel
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder loggingLevel(String loggingLevel) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getLoggingLevel()- Parameters:
loggingLevel- Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels includeERROR,INFO, orNONE.- Returns:
this
-
snsTopicArns
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder snsTopicArns(List<String> snsTopicArns) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getSnsTopicArns()- Parameters:
snsTopicArns- The ARNs of the SNS topics that deliver notifications to .- Returns:
this
-
tags
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTags()- Parameters:
tags- The tags to add to the configuration.- Returns:
this
-
teamId
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder teamId(String teamId) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamId()- Parameters:
teamId- The ID of the Microsoft Team authorized with . To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the team ID from the console. For more details, see steps 1-3 in Tutorial: Get started with Microsoft Teams in the in chat applications Administrator Guide .- Returns:
this
-
teamsChannelId
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder teamsChannelId(String teamsChannelId) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamsChannelId()- Parameters:
teamsChannelId- The ID of the Microsoft Teams channel. To get the channel ID, open Microsoft Teams, right click on the channel name in the left pane, then choose Copy . An example of the channel ID syntax is:19%3ab6ef35dc342d56ba5654e6fc6d25a071%40thread.tacv2.- Returns:
this
-
teamsChannelName
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder teamsChannelName(String teamsChannelName) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamsChannelName()- Parameters:
teamsChannelName- The name of the Microsoft Teams channel.- Returns:
this
-
teamsTenantId
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder teamsTenantId(String teamsTenantId) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getTeamsTenantId()- Parameters:
teamsTenantId- The ID of the Microsoft Teams tenant. To get the tenant ID, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console. Then you can copy and paste the tenant ID from the console. For more details, see steps 1-3 in Tutorial: Get started with Microsoft Teams in the in chat applications Administrator Guide .- Returns:
this
-
userRoleRequired
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder userRoleRequired(Boolean userRoleRequired) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getUserRoleRequired()- Parameters:
userRoleRequired- Enables use of a user role requirement in your chat configuration.- Returns:
this
-
userRoleRequired
@Stability(Stable) public CfnMicrosoftTeamsChannelConfigurationMixinProps.Builder userRoleRequired(IResolvable userRoleRequired) Sets the value ofCfnMicrosoftTeamsChannelConfigurationMixinProps.getUserRoleRequired()- Parameters:
userRoleRequired- Enables use of a user role requirement in your chat configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMicrosoftTeamsChannelConfigurationMixinProps>- Returns:
- a new instance of
CfnMicrosoftTeamsChannelConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-