Class Smsvoicev2PoolArgs.Builder

  • Enclosing class:
    Smsvoicev2PoolArgs

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

      • deletionProtectionEnabled

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

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

        public Smsvoicev2PoolArgs.Builder isoCountryCode​(@Nullable
                                                         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 of the pool. Cannot be changed after creation.
        Returns:
        builder
      • isoCountryCode

        public Smsvoicev2PoolArgs.Builder isoCountryCode​(java.lang.String isoCountryCode)
        Parameters:
        isoCountryCode - Two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the pool. Cannot be changed after creation.
        Returns:
        builder
      • messageType

        public Smsvoicev2PoolArgs.Builder messageType​(com.pulumi.core.Output<java.lang.String> messageType)
        Parameters:
        messageType - Type of message. Valid values are `TRANSACTIONAL` and `PROMOTIONAL`. Cannot be changed after creation.
        Returns:
        builder
      • messageType

        public Smsvoicev2PoolArgs.Builder messageType​(java.lang.String messageType)
        Parameters:
        messageType - Type of message. Valid values are `TRANSACTIONAL` and `PROMOTIONAL`. Cannot be changed after creation.
        Returns:
        builder
      • optOutListName

        public Smsvoicev2PoolArgs.Builder optOutListName​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> optOutListName)
        Parameters:
        optOutListName - Name of the opt-out list associated with the pool.
        Returns:
        builder
      • optOutListName

        public Smsvoicev2PoolArgs.Builder optOutListName​(java.lang.String optOutListName)
        Parameters:
        optOutListName - Name of the opt-out list associated with the pool.
        Returns:
        builder
      • originationIdentities

        public Smsvoicev2PoolArgs.Builder originationIdentities​(com.pulumi.core.Output<java.util.List<java.lang.String>> originationIdentities)
        Parameters:
        originationIdentities - Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation. The following arguments are optional:
        Returns:
        builder
      • originationIdentities

        public Smsvoicev2PoolArgs.Builder originationIdentities​(java.util.List<java.lang.String> originationIdentities)
        Parameters:
        originationIdentities - Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation. The following arguments are optional:
        Returns:
        builder
      • originationIdentities

        public Smsvoicev2PoolArgs.Builder originationIdentities​(java.lang.String... originationIdentities)
        Parameters:
        originationIdentities - Set of origination identity ARNs (phone number ARNs or sender ID ARNs) associated with the pool. At least one identity is required at creation. The following arguments are optional:
        Returns:
        builder
      • region

        public Smsvoicev2PoolArgs.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/cli/latest/userguide/cli-configure-options.html#cli-configure-options-region). Defaults to the region set in the provider configuration.
        Returns:
        builder
      • region

        public Smsvoicev2PoolArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html#cli-configure-options-region). Defaults to the region set in the provider configuration.
        Returns:
        builder
      • selfManagedOptOutsEnabled

        public Smsvoicev2PoolArgs.Builder selfManagedOptOutsEnabled​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> selfManagedOptOutsEnabled)
        Parameters:
        selfManagedOptOutsEnabled - Whether the pool relies on self-managed opt-out handling. When `false`, AWS auto-replies to HELP/STOP requests and manages the opt-out list.
        Returns:
        builder
      • selfManagedOptOutsEnabled

        public Smsvoicev2PoolArgs.Builder selfManagedOptOutsEnabled​(java.lang.Boolean selfManagedOptOutsEnabled)
        Parameters:
        selfManagedOptOutsEnabled - Whether the pool relies on self-managed opt-out handling. When `false`, AWS auto-replies to HELP/STOP requests and manages the opt-out list.
        Returns:
        builder
      • sharedRoutesEnabled

        public Smsvoicev2PoolArgs.Builder sharedRoutesEnabled​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> sharedRoutesEnabled)
        Parameters:
        sharedRoutesEnabled - Whether shared routes are enabled for the pool. When `true`, messages may use shared phone numbers or sender IDs in countries that allow it.
        Returns:
        builder
      • sharedRoutesEnabled

        public Smsvoicev2PoolArgs.Builder sharedRoutesEnabled​(java.lang.Boolean sharedRoutesEnabled)
        Parameters:
        sharedRoutesEnabled - Whether shared routes are enabled for the pool. When `true`, messages may use shared phone numbers or sender IDs in countries that allow it.
        Returns:
        builder
      • tags

        public Smsvoicev2PoolArgs.Builder tags​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. 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 Smsvoicev2PoolArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. 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 Smsvoicev2PoolArgs.Builder twoWayChannelArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> twoWayChannelArn)
        Parameters:
        twoWayChannelArn - Destination for incoming messages. Specify an ARN to receive incoming 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 Smsvoicev2PoolArgs.Builder twoWayChannelArn​(java.lang.String twoWayChannelArn)
        Parameters:
        twoWayChannelArn - Destination for incoming messages. Specify an ARN to receive incoming 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
      • twoWayChannelRole

        public Smsvoicev2PoolArgs.Builder twoWayChannelRole​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> twoWayChannelRole)
        Parameters:
        twoWayChannelRole - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
        Returns:
        builder
      • twoWayChannelRole

        public Smsvoicev2PoolArgs.Builder twoWayChannelRole​(java.lang.String twoWayChannelRole)
        Parameters:
        twoWayChannelRole - ARN of the IAM role that End User Messaging SMS assumes to publish inbound messages to the two-way channel.
        Returns:
        builder
      • twoWayEnabled

        public Smsvoicev2PoolArgs.Builder twoWayEnabled​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> twoWayEnabled)
        Parameters:
        twoWayEnabled - Whether inbound message reception is enabled for the pool. When `true`, `twoWayChannelArn` must be set.
        Returns:
        builder
      • twoWayEnabled

        public Smsvoicev2PoolArgs.Builder twoWayEnabled​(java.lang.Boolean twoWayEnabled)
        Parameters:
        twoWayEnabled - Whether inbound message reception is enabled for the pool. When `true`, `twoWayChannelArn` must be set.
        Returns:
        builder