Class CfnAppInstanceBotProps.Builder
java.lang.Object
software.amazon.awscdk.services.chime.CfnAppInstanceBotProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppInstanceBotProps>
- Enclosing interface:
CfnAppInstanceBotProps
@Stability(Stable)
public static final class CfnAppInstanceBotProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppInstanceBotProps>
A builder for
CfnAppInstanceBotProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappInstanceArn(String appInstanceArn) Sets the value ofCfnAppInstanceBotProps.getAppInstanceArn()build()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnAppInstanceBotProps.getConfiguration()configuration(CfnAppInstanceBot.ConfigurationProperty configuration) Sets the value ofCfnAppInstanceBotProps.getConfiguration()Sets the value ofCfnAppInstanceBotProps.getMetadata()Sets the value ofCfnAppInstanceBotProps.getName()Sets the value ofCfnAppInstanceBotProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appInstanceArn
Sets the value ofCfnAppInstanceBotProps.getAppInstanceArn()- Parameters:
appInstanceArn- The ARN of the AppInstance. This parameter is required.- Returns:
this
-
configuration
Sets the value ofCfnAppInstanceBotProps.getConfiguration()- Parameters:
configuration- A structure that contains configuration data. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnAppInstanceBotProps.Builder configuration(CfnAppInstanceBot.ConfigurationProperty configuration) Sets the value ofCfnAppInstanceBotProps.getConfiguration()- Parameters:
configuration- A structure that contains configuration data. This parameter is required.- Returns:
this
-
metadata
Sets the value ofCfnAppInstanceBotProps.getMetadata()- Parameters:
metadata- The metadata of the AppInstanceBot.- Returns:
this
-
name
Sets the value ofCfnAppInstanceBotProps.getName()- Parameters:
name- The name of the AppInstanceBot.- Returns:
this
-
tags
Sets the value ofCfnAppInstanceBotProps.getTags()- Parameters:
tags- The tags assigned to the AppInstanceBot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppInstanceBotProps>- Returns:
- a new instance of
CfnAppInstanceBotProps - Throws:
NullPointerException- if any required attribute was not provided
-