Class CfnUser.AutoAcceptConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUser.AutoAcceptConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUser.AutoAcceptConfigProperty>
- Enclosing interface:
CfnUser.AutoAcceptConfigProperty
@Stability(Stable)
public static final class CfnUser.AutoAcceptConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUser.AutoAcceptConfigProperty>
A builder for
CfnUser.AutoAcceptConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentFirstCallbackAutoAccept(Boolean agentFirstCallbackAutoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAgentFirstCallbackAutoAccept()agentFirstCallbackAutoAccept(IResolvable agentFirstCallbackAutoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAgentFirstCallbackAutoAccept()autoAccept(Boolean autoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAutoAccept()autoAccept(IResolvable autoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAutoAccept()build()Builds the configured instance.Sets the value ofCfnUser.AutoAcceptConfigProperty.getChannel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoAccept
Sets the value ofCfnUser.AutoAcceptConfigProperty.getAutoAccept()- Parameters:
autoAccept- The Auto accept setting. This parameter is required.- Returns:
this
-
autoAccept
@Stability(Stable) public CfnUser.AutoAcceptConfigProperty.Builder autoAccept(IResolvable autoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAutoAccept()- Parameters:
autoAccept- The Auto accept setting. This parameter is required.- Returns:
this
-
channel
Sets the value ofCfnUser.AutoAcceptConfigProperty.getChannel()- Parameters:
channel- The channels that agents can handle in the Contact Control Panel (CCP). This parameter is required.- Returns:
this
-
agentFirstCallbackAutoAccept
@Stability(Stable) public CfnUser.AutoAcceptConfigProperty.Builder agentFirstCallbackAutoAccept(Boolean agentFirstCallbackAutoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAgentFirstCallbackAutoAccept()- Parameters:
agentFirstCallbackAutoAccept- The agent first callback auto accept setting.- Returns:
this
-
agentFirstCallbackAutoAccept
@Stability(Stable) public CfnUser.AutoAcceptConfigProperty.Builder agentFirstCallbackAutoAccept(IResolvable agentFirstCallbackAutoAccept) Sets the value ofCfnUser.AutoAcceptConfigProperty.getAgentFirstCallbackAutoAccept()- Parameters:
agentFirstCallbackAutoAccept- The agent first callback auto accept setting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUser.AutoAcceptConfigProperty>- Returns:
- a new instance of
CfnUser.AutoAcceptConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-