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