PhoneNumberState class

Input properties used for looking up and filtering PhoneNumber resources.

Constructors

PhoneNumberState({Input<String?>? arn, Input<String?>? countryCode, Input<String?>? description, Input<String?>? phoneNumber, Input<String?>? prefix, Input<String?>? region, Input<List<PhoneNumberStatus>?>? statuses, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? targetArn, Input<String?>? type})
Creates a new PhoneNumberState. arn The ARN of the phone number. countryCode The ISO country code. For a list of Valid values, refer to PhoneNumberCountryCode. description The description of the phone number. phoneNumber The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]. prefix The prefix of the phone number that is used to filter available phone numbers. If provided, it must contain + as part of the country code. Do not specify this argument when importing the resource. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. statuses The status of the phone number. Valid Values: CLAIMED | IN_PROGRESS | FAILED. tags Tags to apply to the Phone Number. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. targetArn ARN for Amazon Connect instances that phone numbers are claimed to. type The type of phone number. Valid Values: TOLL_FREE | DID.
const
PhoneNumberState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
The ARN of the phone number.
final
countryCode → Input<String?>?
The ISO country code. For a list of Valid values, refer to PhoneNumberCountryCode.
final
description → Input<String?>?
The description of the phone number.
final
hashCode → int
The hash code for this object.
no setterinherited
phoneNumber → Input<String?>?
The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code].
final
prefix → Input<String?>?
The prefix of the phone number that is used to filter available phone numbers. If provided, it must contain + as part of the country code. Do not specify this argument when importing the resource.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statuses → Input<List<PhoneNumberStatus>?>?
The status of the phone number. Valid Values: CLAIMED | IN_PROGRESS | FAILED.
final
tags → Input<Map<String, String>?>?
Tags to apply to the Phone Number. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
targetArn → Input<String?>?
ARN for Amazon Connect instances that phone numbers are claimed to.
final
type → Input<String?>?
The type of phone number. Valid Values: TOLL_FREE | DID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited