Class CfnAppInstanceBot.InvokedByProperty.Builder
java.lang.Object
software.amazon.awscdk.services.chime.CfnAppInstanceBot.InvokedByProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppInstanceBot.InvokedByProperty>
- Enclosing interface:
CfnAppInstanceBot.InvokedByProperty
@Stability(Stable)
public static final class CfnAppInstanceBot.InvokedByProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppInstanceBot.InvokedByProperty>
A builder for
CfnAppInstanceBot.InvokedByProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.standardMessages(String standardMessages) Sets the value ofCfnAppInstanceBot.InvokedByProperty.getStandardMessages()targetedMessages(String targetedMessages) Sets the value ofCfnAppInstanceBot.InvokedByProperty.getTargetedMessages()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
standardMessages
@Stability(Stable) public CfnAppInstanceBot.InvokedByProperty.Builder standardMessages(String standardMessages) Sets the value ofCfnAppInstanceBot.InvokedByProperty.getStandardMessages()- Parameters:
standardMessages- Sets standard messages as the bot trigger. This parameter is required.- Returns:
this
-
targetedMessages
@Stability(Stable) public CfnAppInstanceBot.InvokedByProperty.Builder targetedMessages(String targetedMessages) Sets the value ofCfnAppInstanceBot.InvokedByProperty.getTargetedMessages()- Parameters:
targetedMessages- Sets targeted messages as the bot trigger. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppInstanceBot.InvokedByProperty>- Returns:
- a new instance of
CfnAppInstanceBot.InvokedByProperty - Throws:
NullPointerException- if any required attribute was not provided
-