Class CfnQuickConnect.PhoneNumberQuickConnectConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnQuickConnect.PhoneNumberQuickConnectConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuickConnect.PhoneNumberQuickConnectConfigProperty>
- Enclosing interface:
CfnQuickConnect.PhoneNumberQuickConnectConfigProperty
@Stability(Stable)
public static final class CfnQuickConnect.PhoneNumberQuickConnectConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuickConnect.PhoneNumberQuickConnectConfigProperty>
A builder for
CfnQuickConnect.PhoneNumberQuickConnectConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.phoneNumber
(String phoneNumber) Sets the value ofCfnQuickConnect.PhoneNumberQuickConnectConfigProperty.getPhoneNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
phoneNumber
@Stability(Stable) public CfnQuickConnect.PhoneNumberQuickConnectConfigProperty.Builder phoneNumber(String phoneNumber) Sets the value ofCfnQuickConnect.PhoneNumberQuickConnectConfigProperty.getPhoneNumber()
- Parameters:
phoneNumber
- The phone number in E.164 format. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnQuickConnect.PhoneNumberQuickConnectConfigProperty>
- Returns:
- a new instance of
CfnQuickConnect.PhoneNumberQuickConnectConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-