Class MscSubSubscriptionArgs.Builder

  • Enclosing class:
    MscSubSubscriptionArgs

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

      • contactIds

        public MscSubSubscriptionArgs.Builder contactIds​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> contactIds)
        Parameters:
        contactIds - The ids of subscribed contacts. **NOTE:** There is a potential diff error because of the order of `contact_ids` values indefinite. So, from version 1.161.0, `contact_ids` type has been updated as `set` from `list`, and you can use tolist to convert it to a list.
        Returns:
        builder
      • contactIds

        public MscSubSubscriptionArgs.Builder contactIds​(java.util.List<java.lang.String> contactIds)
        Parameters:
        contactIds - The ids of subscribed contacts. **NOTE:** There is a potential diff error because of the order of `contact_ids` values indefinite. So, from version 1.161.0, `contact_ids` type has been updated as `set` from `list`, and you can use tolist to convert it to a list.
        Returns:
        builder
      • contactIds

        public MscSubSubscriptionArgs.Builder contactIds​(java.lang.String... contactIds)
        Parameters:
        contactIds - The ids of subscribed contacts. **NOTE:** There is a potential diff error because of the order of `contact_ids` values indefinite. So, from version 1.161.0, `contact_ids` type has been updated as `set` from `list`, and you can use tolist to convert it to a list.
        Returns:
        builder
      • emailStatus

        public MscSubSubscriptionArgs.Builder emailStatus​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> emailStatus)
        Parameters:
        emailStatus - The status of email subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • emailStatus

        public MscSubSubscriptionArgs.Builder emailStatus​(java.lang.Integer emailStatus)
        Parameters:
        emailStatus - The status of email subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • itemName

        public MscSubSubscriptionArgs.Builder itemName​(com.pulumi.core.Output<java.lang.String> itemName)
        Parameters:
        itemName - The name of the Subscription. **NOTE:** You should use the `alicloud.getMscSubSubscriptions` to query the available subscription item name.
        Returns:
        builder
      • itemName

        public MscSubSubscriptionArgs.Builder itemName​(java.lang.String itemName)
        Parameters:
        itemName - The name of the Subscription. **NOTE:** You should use the `alicloud.getMscSubSubscriptions` to query the available subscription item name.
        Returns:
        builder
      • pmsgStatus

        public MscSubSubscriptionArgs.Builder pmsgStatus​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> pmsgStatus)
        Parameters:
        pmsgStatus - The status of pmsg subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • pmsgStatus

        public MscSubSubscriptionArgs.Builder pmsgStatus​(java.lang.Integer pmsgStatus)
        Parameters:
        pmsgStatus - The status of pmsg subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • smsStatus

        public MscSubSubscriptionArgs.Builder smsStatus​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> smsStatus)
        Parameters:
        smsStatus - The status of sms subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • smsStatus

        public MscSubSubscriptionArgs.Builder smsStatus​(java.lang.Integer smsStatus)
        Parameters:
        smsStatus - The status of sms subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • ttsStatus

        public MscSubSubscriptionArgs.Builder ttsStatus​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> ttsStatus)
        Parameters:
        ttsStatus - The status of tts subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • ttsStatus

        public MscSubSubscriptionArgs.Builder ttsStatus​(java.lang.Integer ttsStatus)
        Parameters:
        ttsStatus - The status of tts subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • webhookIds

        public MscSubSubscriptionArgs.Builder webhookIds​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> webhookIds)
        Parameters:
        webhookIds - The ids of subscribed webhooks.
        Returns:
        builder
      • webhookIds

        public MscSubSubscriptionArgs.Builder webhookIds​(java.util.List<java.lang.String> webhookIds)
        Parameters:
        webhookIds - The ids of subscribed webhooks.
        Returns:
        builder
      • webhookIds

        public MscSubSubscriptionArgs.Builder webhookIds​(java.lang.String... webhookIds)
        Parameters:
        webhookIds - The ids of subscribed webhooks.
        Returns:
        builder
      • webhookStatus

        public MscSubSubscriptionArgs.Builder webhookStatus​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> webhookStatus)
        Parameters:
        webhookStatus - The status of webhook subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder
      • webhookStatus

        public MscSubSubscriptionArgs.Builder webhookStatus​(java.lang.Integer webhookStatus)
        Parameters:
        webhookStatus - The status of webhook subscription. Valid values: `-1`, `-2`, `0`, `1`. `-1` means required, `-2` means banned; `1` means subscribed; `0` means not subscribed.
        Returns:
        builder