Class CfnUser.UserPhoneConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUser.UserPhoneConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUser.UserPhoneConfigProperty>
- Enclosing interface:
- CfnUser.UserPhoneConfigProperty
@Stability(Stable)
public static final class CfnUser.UserPhoneConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUser.UserPhoneConfigProperty>
A builder for
CfnUser.UserPhoneConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterContactWorkTimeLimit(Number afterContactWorkTimeLimit) Sets the value ofCfnUser.UserPhoneConfigProperty.getAfterContactWorkTimeLimit()autoAccept(Boolean autoAccept) Sets the value ofCfnUser.UserPhoneConfigProperty.getAutoAccept()autoAccept(IResolvable autoAccept) Sets the value ofCfnUser.UserPhoneConfigProperty.getAutoAccept()build()Builds the configured instance.deskPhoneNumber(String deskPhoneNumber) Sets the value ofCfnUser.UserPhoneConfigProperty.getDeskPhoneNumber()Sets the value ofCfnUser.UserPhoneConfigProperty.getPhoneType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
phoneType
Sets the value ofCfnUser.UserPhoneConfigProperty.getPhoneType()- Parameters:
phoneType- The phone type. This parameter is required.- Returns:
this
-
afterContactWorkTimeLimit
@Stability(Stable) public CfnUser.UserPhoneConfigProperty.Builder afterContactWorkTimeLimit(Number afterContactWorkTimeLimit) Sets the value ofCfnUser.UserPhoneConfigProperty.getAfterContactWorkTimeLimit()- Parameters:
afterContactWorkTimeLimit- The After Call Work (ACW) timeout setting, in seconds.When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- Returns:
this
-
autoAccept
Sets the value ofCfnUser.UserPhoneConfigProperty.getAutoAccept()- Parameters:
autoAccept- The Auto accept setting.- Returns:
this
-
autoAccept
@Stability(Stable) public CfnUser.UserPhoneConfigProperty.Builder autoAccept(IResolvable autoAccept) Sets the value ofCfnUser.UserPhoneConfigProperty.getAutoAccept()- Parameters:
autoAccept- The Auto accept setting.- Returns:
this
-
deskPhoneNumber
@Stability(Stable) public CfnUser.UserPhoneConfigProperty.Builder deskPhoneNumber(String deskPhoneNumber) Sets the value ofCfnUser.UserPhoneConfigProperty.getDeskPhoneNumber()- Parameters:
deskPhoneNumber- The phone number for the user's desk phone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUser.UserPhoneConfigProperty>- Returns:
- a new instance of
CfnUser.UserPhoneConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-