@Stability(value=Stable) public static final class CfnPhoneNumber.Builder extends Object implements software.amazon.jsii.Builder<CfnPhoneNumber>
CfnPhoneNumber.| Modifier and Type | Method and Description |
|---|---|
CfnPhoneNumber |
build() |
CfnPhoneNumber.Builder |
countryCode(String countryCode)
The ISO country code.
|
static CfnPhoneNumber.Builder |
create(software.constructs.Construct scope,
String id) |
CfnPhoneNumber.Builder |
description(String description)
The description of the phone number.
|
CfnPhoneNumber.Builder |
prefix(String prefix)
The prefix of the phone number.
|
CfnPhoneNumber.Builder |
tags(List<? extends CfnTag> tags)
The tags used to organize, track, or control access for this resource.
|
CfnPhoneNumber.Builder |
targetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
CfnPhoneNumber.Builder |
type(String type)
The type of phone number.
|
@Stability(value=Stable) public static CfnPhoneNumber.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnPhoneNumber.Builder.@Stability(value=Stable) public CfnPhoneNumber.Builder countryCode(String countryCode)
countryCode - The ISO country code. This parameter is required.this@Stability(value=Stable) public CfnPhoneNumber.Builder targetArn(String targetArn)
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. This parameter is required.this@Stability(value=Stable) public CfnPhoneNumber.Builder type(String type)
type - The type of phone number. This parameter is required.this@Stability(value=Stable) public CfnPhoneNumber.Builder description(String description)
description - The description of the phone number. This parameter is required.this@Stability(value=Stable) public CfnPhoneNumber.Builder prefix(String prefix)
Pattern : ^\\+[0-9]{1,15}
prefix - The prefix of the phone number. If provided, it must contain `+` as part of the country code. This parameter is required.this@Stability(value=Stable) public CfnPhoneNumber.Builder tags(List<? extends CfnTag> tags)
tags - The tags used to organize, track, or control access for this resource. This parameter is required.this@Stability(value=Stable) public CfnPhoneNumber build()
build in interface software.amazon.jsii.Builder<CfnPhoneNumber>Copyright © 2022. All rights reserved.