@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.771Z") @Stability(value=Stable) public interface CfnPhoneNumberProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
CfnPhoneNumberProps cfnPhoneNumberProps = CfnPhoneNumberProps.builder()
.countryCode("countryCode")
.targetArn("targetArn")
.type("type")
// the properties below are optional
.description("description")
.prefix("prefix")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPhoneNumberProps.Builder
A builder for
CfnPhoneNumberProps |
static class |
CfnPhoneNumberProps.Jsii$Proxy
An implementation for
CfnPhoneNumberProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPhoneNumberProps.Builder |
builder() |
String |
getCountryCode()
The ISO country code.
|
default String |
getDescription()
The description of the phone number.
|
default String |
getPrefix()
The prefix of the phone number.
|
default List<CfnTag> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
String |
getType()
The type of phone number.
|
@Stability(value=Stable) @NotNull String getCountryCode()
@Stability(value=Stable) @NotNull String getTargetArn()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getPrefix()
Pattern : ^\\+[0-9]{1,15}
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnPhoneNumberProps.Builder builder()
CfnPhoneNumberProps.Builder of CfnPhoneNumberPropsCopyright © 2022. All rights reserved.