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