Class CfnUserPropsMixin.UserPhoneConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnUserPropsMixin.UserPhoneConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPropsMixin.UserPhoneConfigProperty>
- Enclosing interface:
CfnUserPropsMixin.UserPhoneConfigProperty
@Stability(Stable)
public static final class CfnUserPropsMixin.UserPhoneConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPropsMixin.UserPhoneConfigProperty>
A builder for
CfnUserPropsMixin.UserPhoneConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterContactWorkTimeLimit(Number afterContactWorkTimeLimit) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getAfterContactWorkTimeLimit()autoAccept(Boolean autoAccept) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getAutoAccept()autoAccept(IResolvable autoAccept) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getAutoAccept()build()Builds the configured instance.deskPhoneNumber(String deskPhoneNumber) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getDeskPhoneNumber()persistentConnection(Boolean persistentConnection) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getPersistentConnection()persistentConnection(IResolvable persistentConnection) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getPersistentConnection()Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getPhoneType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
afterContactWorkTimeLimit
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder afterContactWorkTimeLimit(Number afterContactWorkTimeLimit) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getAfterContactWorkTimeLimit()- Parameters:
afterContactWorkTimeLimit- The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- Returns:
this
-
autoAccept
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder autoAccept(Boolean autoAccept) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getAutoAccept()- Parameters:
autoAccept- The Auto accept setting.- Returns:
this
-
autoAccept
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder autoAccept(IResolvable autoAccept) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getAutoAccept()- Parameters:
autoAccept- The Auto accept setting.- Returns:
this
-
deskPhoneNumber
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder deskPhoneNumber(String deskPhoneNumber) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getDeskPhoneNumber()- Parameters:
deskPhoneNumber- The phone number for the user's desk phone.- Returns:
this
-
persistentConnection
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder persistentConnection(Boolean persistentConnection) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getPersistentConnection()- Parameters:
persistentConnection- The persistent connection setting for the user.- Returns:
this
-
persistentConnection
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder persistentConnection(IResolvable persistentConnection) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getPersistentConnection()- Parameters:
persistentConnection- The persistent connection setting for the user.- Returns:
this
-
phoneType
@Stability(Stable) public CfnUserPropsMixin.UserPhoneConfigProperty.Builder phoneType(String phoneType) Sets the value ofCfnUserPropsMixin.UserPhoneConfigProperty.getPhoneType()- Parameters:
phoneType- The phone type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPropsMixin.UserPhoneConfigProperty>- Returns:
- a new instance of
CfnUserPropsMixin.UserPhoneConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-