Package com.pulumi.alicloud
Class MscSubSubscriptionArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.MscSubSubscriptionArgs.Builder
-
- Enclosing class:
- MscSubSubscriptionArgs
public static final class MscSubSubscriptionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(MscSubSubscriptionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MscSubSubscriptionArgs
build()
MscSubSubscriptionArgs.Builder
contactIds(com.pulumi.core.Output<java.util.List<java.lang.String>> contactIds)
MscSubSubscriptionArgs.Builder
contactIds(java.lang.String... contactIds)
MscSubSubscriptionArgs.Builder
contactIds(java.util.List<java.lang.String> contactIds)
MscSubSubscriptionArgs.Builder
emailStatus(com.pulumi.core.Output<java.lang.Integer> emailStatus)
MscSubSubscriptionArgs.Builder
emailStatus(java.lang.Integer emailStatus)
MscSubSubscriptionArgs.Builder
itemName(com.pulumi.core.Output<java.lang.String> itemName)
MscSubSubscriptionArgs.Builder
itemName(java.lang.String itemName)
MscSubSubscriptionArgs.Builder
pmsgStatus(com.pulumi.core.Output<java.lang.Integer> pmsgStatus)
MscSubSubscriptionArgs.Builder
pmsgStatus(java.lang.Integer pmsgStatus)
MscSubSubscriptionArgs.Builder
smsStatus(com.pulumi.core.Output<java.lang.Integer> smsStatus)
MscSubSubscriptionArgs.Builder
smsStatus(java.lang.Integer smsStatus)
MscSubSubscriptionArgs.Builder
ttsStatus(com.pulumi.core.Output<java.lang.Integer> ttsStatus)
MscSubSubscriptionArgs.Builder
ttsStatus(java.lang.Integer ttsStatus)
MscSubSubscriptionArgs.Builder
webhookIds(com.pulumi.core.Output<java.util.List<java.lang.String>> webhookIds)
MscSubSubscriptionArgs.Builder
webhookIds(java.lang.String... webhookIds)
MscSubSubscriptionArgs.Builder
webhookIds(java.util.List<java.lang.String> webhookIds)
MscSubSubscriptionArgs.Builder
webhookStatus(com.pulumi.core.Output<java.lang.Integer> webhookStatus)
MscSubSubscriptionArgs.Builder
webhookStatus(java.lang.Integer webhookStatus)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MscSubSubscriptionArgs defaults)
-
-
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
-
build
public MscSubSubscriptionArgs build()
-
-