Class Smsvoicev2PhoneNumberArgs.Builder

  • Enclosing class:
    Smsvoicev2PhoneNumberArgs

    public static final class Smsvoicev2PhoneNumberArgs.Builder
    extends java.lang.Object
    • Method Detail

      • deletionProtectionEnabled

        public Smsvoicev2PhoneNumberArgs.Builder deletionProtectionEnabled​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.Boolean> deletionProtectionEnabled)
        Parameters:
        deletionProtectionEnabled - Whether deletion protection is enabled. When `true`, the phone number cannot be deleted.
        Returns:
        builder
      • deletionProtectionEnabled

        public Smsvoicev2PhoneNumberArgs.Builder deletionProtectionEnabled​(java.lang.Boolean deletionProtectionEnabled)
        Parameters:
        deletionProtectionEnabled - Whether deletion protection is enabled. When `true`, the phone number cannot be deleted.
        Returns:
        builder
      • forceDisassociate

        public Smsvoicev2PhoneNumberArgs.Builder forceDisassociate​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> forceDisassociate)
        Parameters:
        forceDisassociate - Whether to disassociate the phone number from any pool it is associated with before destroying it.
        Returns:
        builder
      • forceDisassociate

        public Smsvoicev2PhoneNumberArgs.Builder forceDisassociate​(java.lang.Boolean forceDisassociate)
        Parameters:
        forceDisassociate - Whether to disassociate the phone number from any pool it is associated with before destroying it.
        Returns:
        builder
      • isoCountryCode

        public Smsvoicev2PhoneNumberArgs.Builder isoCountryCode​(com.pulumi.core.Output<java.lang.String> isoCountryCode)
        Parameters:
        isoCountryCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
        Returns:
        builder
      • isoCountryCode

        public Smsvoicev2PhoneNumberArgs.Builder isoCountryCode​(java.lang.String isoCountryCode)
        Parameters:
        isoCountryCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
        Returns:
        builder
      • messageType

        public Smsvoicev2PhoneNumberArgs.Builder messageType​(com.pulumi.core.Output<java.lang.String> messageType)
        Parameters:
        messageType - Type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive.
        Returns:
        builder
      • messageType

        public Smsvoicev2PhoneNumberArgs.Builder messageType​(java.lang.String messageType)
        Parameters:
        messageType - Type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive.
        Returns:
        builder
      • numberCapabilities

        public Smsvoicev2PhoneNumberArgs.Builder numberCapabilities​(com.pulumi.core.Output<java.util.List<java.lang.String>> numberCapabilities)
        Parameters:
        numberCapabilities - Whether the origination identity can be used for text messages, voice calls or both. Valid values are `SMS` and `VOICE`.
        Returns:
        builder
      • numberCapabilities

        public Smsvoicev2PhoneNumberArgs.Builder numberCapabilities​(java.util.List<java.lang.String> numberCapabilities)
        Parameters:
        numberCapabilities - Whether the origination identity can be used for text messages, voice calls or both. Valid values are `SMS` and `VOICE`.
        Returns:
        builder
      • numberCapabilities

        public Smsvoicev2PhoneNumberArgs.Builder numberCapabilities​(java.lang.String... numberCapabilities)
        Parameters:
        numberCapabilities - Whether the origination identity can be used for text messages, voice calls or both. Valid values are `SMS` and `VOICE`.
        Returns:
        builder
      • numberType

        public Smsvoicev2PhoneNumberArgs.Builder numberType​(com.pulumi.core.Output<java.lang.String> numberType)
        Parameters:
        numberType - Type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`. The following arguments are optional:
        Returns:
        builder
      • numberType

        public Smsvoicev2PhoneNumberArgs.Builder numberType​(java.lang.String numberType)
        Parameters:
        numberType - Type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`. The following arguments are optional:
        Returns:
        builder
      • optOutListName

        public Smsvoicev2PhoneNumberArgs.Builder optOutListName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> optOutListName)
        Parameters:
        optOutListName - Name of the opt-out list to associate with the phone number. If omitted, AWS assigns the `Default` opt-out list.
        Returns:
        builder
      • optOutListName

        public Smsvoicev2PhoneNumberArgs.Builder optOutListName​(java.lang.String optOutListName)
        Parameters:
        optOutListName - Name of the opt-out list to associate with the phone number. If omitted, AWS assigns the `Default` opt-out list.
        Returns:
        builder
      • region

        public Smsvoicev2PhoneNumberArgs.Builder region​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public Smsvoicev2PhoneNumberArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • registrationId

        public Smsvoicev2PhoneNumberArgs.Builder registrationId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> registrationId)
        Parameters:
        registrationId - Use this field to attach your phone number for an external registration process.
        Returns:
        builder
      • registrationId

        public Smsvoicev2PhoneNumberArgs.Builder registrationId​(java.lang.String registrationId)
        Parameters:
        registrationId - Use this field to attach your phone number for an external registration process.
        Returns:
        builder
      • selfManagedOptOutsEnabled

        public Smsvoicev2PhoneNumberArgs.Builder selfManagedOptOutsEnabled​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.Boolean> selfManagedOptOutsEnabled)
        Parameters:
        selfManagedOptOutsEnabled - When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request.
        Returns:
        builder
      • selfManagedOptOutsEnabled

        public Smsvoicev2PhoneNumberArgs.Builder selfManagedOptOutsEnabled​(java.lang.Boolean selfManagedOptOutsEnabled)
        Parameters:
        selfManagedOptOutsEnabled - When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request.
        Returns:
        builder
      • tags

        public Smsvoicev2PhoneNumberArgs.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public Smsvoicev2PhoneNumberArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • twoWayChannelArn

        public Smsvoicev2PhoneNumberArgs.Builder twoWayChannelArn​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> twoWayChannelArn)
        Parameters:
        twoWayChannelArn - Configuration for two-way SMS. Specify an ARN to receive incoming SMS messages, or `connect.[region].amazonaws.com` (with `[region]` replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination.
        Returns:
        builder
      • twoWayChannelArn

        public Smsvoicev2PhoneNumberArgs.Builder twoWayChannelArn​(java.lang.String twoWayChannelArn)
        Parameters:
        twoWayChannelArn - Configuration for two-way SMS. Specify an ARN to receive incoming SMS messages, or `connect.[region].amazonaws.com` (with `[region]` replaced by the AWS Region of the Amazon Connect instance) to set Amazon Connect as the inbound destination.
        Returns:
        builder
      • twoWayChannelEnabled

        public Smsvoicev2PhoneNumberArgs.Builder twoWayChannelEnabled​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> twoWayChannelEnabled)
        Parameters:
        twoWayChannelEnabled - Whether two-way messaging is enabled. When `true`, you can receive incoming text messages from your end recipients. If omitted, AWS sets this to `false`.
        Returns:
        builder
      • twoWayChannelEnabled

        public Smsvoicev2PhoneNumberArgs.Builder twoWayChannelEnabled​(java.lang.Boolean twoWayChannelEnabled)
        Parameters:
        twoWayChannelEnabled - Whether two-way messaging is enabled. When `true`, you can receive incoming text messages from your end recipients. If omitted, AWS sets this to `false`.
        Returns:
        builder
      • twoWayChannelRole

        public Smsvoicev2PhoneNumberArgs.Builder twoWayChannelRole​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> twoWayChannelRole)
        Parameters:
        twoWayChannelRole - IAM Role ARN for a service to assume, to be able to post inbound SMS messages.
        Returns:
        builder
      • twoWayChannelRole

        public Smsvoicev2PhoneNumberArgs.Builder twoWayChannelRole​(java.lang.String twoWayChannelRole)
        Parameters:
        twoWayChannelRole - IAM Role ARN for a service to assume, to be able to post inbound SMS messages.
        Returns:
        builder
      • waitForActive

        public Smsvoicev2PhoneNumberArgs.Builder waitForActive​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> waitForActive)
        Parameters:
        waitForActive - Whether to wait for the phone number to reach `ACTIVE` status before considering the resource created or updated. Defaults to `true`. Set to `false` for number types gated on carrier or registration approval (for example, `TEN_DLC`, `TOLL_FREE`, or any number submitted with `registrationId`), which can remain `PENDING` for days or weeks. When `false`, `pulumi up` returns once AWS accepts the phone number request; track activation with the `status` attribute.
        Returns:
        builder
      • waitForActive

        public Smsvoicev2PhoneNumberArgs.Builder waitForActive​(java.lang.Boolean waitForActive)
        Parameters:
        waitForActive - Whether to wait for the phone number to reach `ACTIVE` status before considering the resource created or updated. Defaults to `true`. Set to `false` for number types gated on carrier or registration approval (for example, `TEN_DLC`, `TOLL_FREE`, or any number submitted with `registrationId`), which can remain `PENDING` for days or weeks. When `false`, `pulumi up` returns once AWS accepts the phone number request; track activation with the `status` attribute.
        Returns:
        builder