Class PhoneNumberArgs.Builder

  • Enclosing class:
    PhoneNumberArgs

    public static final class PhoneNumberArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • countryCode

        public PhoneNumberArgs.Builder countryCode​(com.pulumi.core.Output<java.lang.String> countryCode)
        Parameters:
        countryCode - The ISO country code. For a list of Valid values, refer to [PhoneNumberCountryCode](https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html#connect-SearchAvailablePhoneNumbers-request-PhoneNumberCountryCode).
        Returns:
        builder
      • countryCode

        public PhoneNumberArgs.Builder countryCode​(java.lang.String countryCode)
        Parameters:
        countryCode - The ISO country code. For a list of Valid values, refer to [PhoneNumberCountryCode](https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html#connect-SearchAvailablePhoneNumbers-request-PhoneNumberCountryCode).
        Returns:
        builder
      • description

        public PhoneNumberArgs.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the phone number.
        Returns:
        builder
      • description

        public PhoneNumberArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the phone number.
        Returns:
        builder
      • prefix

        public PhoneNumberArgs.Builder prefix​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> prefix)
        Parameters:
        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.
        Returns:
        builder
      • prefix

        public PhoneNumberArgs.Builder prefix​(java.lang.String prefix)
        Parameters:
        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.
        Returns:
        builder
      • tags

        public PhoneNumberArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags to apply to the Phone Number. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public PhoneNumberArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags to apply to the Phone Number. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • targetArn

        public PhoneNumberArgs.Builder targetArn​(com.pulumi.core.Output<java.lang.String> targetArn)
        Parameters:
        targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
        Returns:
        builder
      • targetArn

        public PhoneNumberArgs.Builder targetArn​(java.lang.String targetArn)
        Parameters:
        targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
        Returns:
        builder
      • type

        public PhoneNumberArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of phone number. Valid Values: `TOLL_FREE` | `DID`.
        Returns:
        builder
      • type

        public PhoneNumberArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The type of phone number. Valid Values: `TOLL_FREE` | `DID`.
        Returns:
        builder