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