| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
autoRenew(Boolean autoRenew)
Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal.
|
Instance.Builder |
autoRenew(com.aliyun.ros.cdk.core.IResolvable autoRenew)
Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal.
|
Instance.Builder |
bucket(com.aliyun.ros.cdk.core.IResolvable bucket)
Property bucket: OSS bucket name.
|
Instance.Builder |
bucket(String bucket)
Property bucket: OSS bucket name.
|
Instance |
build() |
Instance.Builder |
chargeType(com.aliyun.ros.cdk.core.IResolvable chargeType)
Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
|
Instance.Builder |
chargeType(String chargeType)
Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
|
static Instance.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id) |
static Instance.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id,
Boolean enableResourcePropertyConstraint) |
Instance.Builder |
duration(com.aliyun.ros.cdk.core.IResolvable duration)
Property duration: Number of order cycle.
|
Instance.Builder |
duration(Number duration)
Property duration: Number of order cycle.
|
Instance.Builder |
instanceName(com.aliyun.ros.cdk.core.IResolvable instanceName)
Property instanceName: The name of instance.
|
Instance.Builder |
instanceName(String instanceName)
Property instanceName: The name of instance.
|
Instance.Builder |
pricingCycle(com.aliyun.ros.cdk.core.IResolvable pricingCycle)
Property pricingCycle: The ordering cycle only supports ordering in the year and month.
|
Instance.Builder |
pricingCycle(String pricingCycle)
Property pricingCycle: The ordering cycle only supports ordering in the year and month.
|
Instance.Builder |
promotionCode(com.aliyun.ros.cdk.core.IResolvable promotionCode)
Property promotionCode: Promo Code.
|
Instance.Builder |
promotionCode(String promotionCode)
Property promotionCode: Promo Code.
|
Instance.Builder |
resourceSpec(com.aliyun.ros.cdk.core.IResolvable resourceSpec)
Property resourceSpec: Resource specifications.
|
Instance.Builder |
resourceSpec(RosInstance.ResourceSpecProperty resourceSpec)
Property resourceSpec: Resource specifications.
|
Instance.Builder |
usePromotionCode(Boolean usePromotionCode)
Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use.
|
Instance.Builder |
usePromotionCode(com.aliyun.ros.cdk.core.IResolvable usePromotionCode)
Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use.
|
Instance.Builder |
vpcId(com.aliyun.ros.cdk.core.IResolvable vpcId)
Property vpcId: VPC ID.
|
Instance.Builder |
vpcId(String vpcId)
Property vpcId: VPC ID.
|
Instance.Builder |
vSwitchIds(com.aliyun.ros.cdk.core.IResolvable vSwitchIds)
Property vSwitchIds: Virtual switch ID.
|
Instance.Builder |
vSwitchIds(List<? extends Object> vSwitchIds)
Property vSwitchIds: Virtual switch ID.
|
Instance.Builder |
zoneId(com.aliyun.ros.cdk.core.IResolvable zoneId)
Property zoneId: The available area ID of the instance.
|
Instance.Builder |
zoneId(String zoneId)
Property zoneId: The available area ID of the instance.
|
public static Instance.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id, Boolean enableResourcePropertyConstraint)
scope - This parameter is required.id - This parameter is required.enableResourcePropertyConstraint - Instance.Builder.public static Instance.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Instance.Builder.public Instance.Builder bucket(String bucket)
bucket - Property bucket: OSS bucket name. This parameter is required.thispublic Instance.Builder bucket(com.aliyun.ros.cdk.core.IResolvable bucket)
bucket - Property bucket: OSS bucket name. This parameter is required.thispublic Instance.Builder chargeType(String chargeType)
PRE: subscription.
chargeType - Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go. This parameter is required.thispublic Instance.Builder chargeType(com.aliyun.ros.cdk.core.IResolvable chargeType)
PRE: subscription.
chargeType - Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go. This parameter is required.thispublic Instance.Builder instanceName(String instanceName)
instanceName - Property instanceName: The name of instance. This parameter is required.thispublic Instance.Builder instanceName(com.aliyun.ros.cdk.core.IResolvable instanceName)
instanceName - Property instanceName: The name of instance. This parameter is required.thispublic Instance.Builder vpcId(String vpcId)
vpcId - Property vpcId: VPC ID. This parameter is required.thispublic Instance.Builder vpcId(com.aliyun.ros.cdk.core.IResolvable vpcId)
vpcId - Property vpcId: VPC ID. This parameter is required.thispublic Instance.Builder vSwitchIds(List<? extends Object> vSwitchIds)
vSwitchIds - Property vSwitchIds: Virtual switch ID. This parameter is required.thispublic Instance.Builder vSwitchIds(com.aliyun.ros.cdk.core.IResolvable vSwitchIds)
vSwitchIds - Property vSwitchIds: Virtual switch ID. This parameter is required.thispublic Instance.Builder zoneId(String zoneId)
zoneId - Property zoneId: The available area ID of the instance. This parameter is required.thispublic Instance.Builder zoneId(com.aliyun.ros.cdk.core.IResolvable zoneId)
zoneId - Property zoneId: The available area ID of the instance. This parameter is required.thispublic Instance.Builder autoRenew(Boolean autoRenew)
false: Manual renewal.
autoRenew - Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal. This parameter is required.thispublic Instance.Builder autoRenew(com.aliyun.ros.cdk.core.IResolvable autoRenew)
false: Manual renewal.
autoRenew - Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal. This parameter is required.thispublic Instance.Builder duration(Number duration)
When ChargeType is configured as PRE, the duration parameter must be filled. If PricingCycle is Month, the valid range is 1, 2, 3, 6, 7, 8, 9, 12, 24, 36 If PricingCycle is year, the valid range is 1 to 3
duration - Property duration: Number of order cycle. This parameter is required.thispublic Instance.Builder duration(com.aliyun.ros.cdk.core.IResolvable duration)
When ChargeType is configured as PRE, the duration parameter must be filled. If PricingCycle is Month, the valid range is 1, 2, 3, 6, 7, 8, 9, 12, 24, 36 If PricingCycle is year, the valid range is 1 to 3
duration - Property duration: Number of order cycle. This parameter is required.thispublic Instance.Builder pricingCycle(String pricingCycle)
pricingCycle - Property pricingCycle: The ordering cycle only supports ordering in the year and month. This parameter is required.thispublic Instance.Builder pricingCycle(com.aliyun.ros.cdk.core.IResolvable pricingCycle)
pricingCycle - Property pricingCycle: The ordering cycle only supports ordering in the year and month. This parameter is required.thispublic Instance.Builder promotionCode(String promotionCode)
promotionCode - Property promotionCode: Promo Code. This parameter is required.thispublic Instance.Builder promotionCode(com.aliyun.ros.cdk.core.IResolvable promotionCode)
promotionCode - Property promotionCode: Promo Code. This parameter is required.thispublic Instance.Builder resourceSpec(com.aliyun.ros.cdk.core.IResolvable resourceSpec)
When ChargeType is configured as PRE, the resource specification parameters must be filled.
resourceSpec - Property resourceSpec: Resource specifications. This parameter is required.thispublic Instance.Builder resourceSpec(RosInstance.ResourceSpecProperty resourceSpec)
When ChargeType is configured as PRE, the resource specification parameters must be filled.
resourceSpec - Property resourceSpec: Resource specifications. This parameter is required.thispublic Instance.Builder usePromotionCode(Boolean usePromotionCode)
usePromotionCode - Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use. This parameter is required.thispublic Instance.Builder usePromotionCode(com.aliyun.ros.cdk.core.IResolvable usePromotionCode)
usePromotionCode - Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use. This parameter is required.thisCopyright © 2023. All rights reserved.