InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-flink-instance
Initializer
import com.aliyun.ros.cdk.flink.InstanceProps;
InstanceProps.builder()
.bucket(java.lang.String)
.bucket(IResolvable)
.chargeType(java.lang.String)
.chargeType(IResolvable)
.instanceName(java.lang.String)
.instanceName(IResolvable)
.vpcId(java.lang.String)
.vpcId(IResolvable)
.vSwitchIds(java.util.List<java.lang.Object>)
.vSwitchIds(IResolvable)
.zoneId(java.lang.String)
.zoneId(IResolvable)
// .autoRenew(java.lang.Boolean)
// .autoRenew(IResolvable)
// .duration(java.lang.Number)
// .duration(IResolvable)
// .pricingCycle(java.lang.String)
// .pricingCycle(IResolvable)
// .promotionCode(java.lang.String)
// .promotionCode(IResolvable)
// .resourceSpec(IResolvable)
// .resourceSpec(ResourceSpecProperty)
// .usePromotionCode(java.lang.Boolean)
// .usePromotionCode(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
bucket |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bucket: OSS bucket name. |
chargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go. |
instanceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceName: The name of instance. |
vpcId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcId: VPC ID. |
vSwitchIds |
java.util.List |
Property vSwitchIds: Virtual switch ID. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: The available area ID of the instance. |
autoRenew |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal. |
duration |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property duration: Number of order cycle. |
pricingCycle |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property pricingCycle: The ordering cycle only supports ordering in the year and month. |
promotionCode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property promotionCode: Promo Code. |
resourceSpec |
com.aliyun.ros.cdk.core.IResolvable OR ResourceSpecProperty |
Property resourceSpec: Resource specifications. |
usePromotionCode |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use. |
bucket
Required
public java.lang.Object getBucket();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bucket: OSS bucket name.
chargeType
Required
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: The payment type, the value of the value is as follows: POST: pay as you go.
PRE: subscription.
instanceName
Required
public java.lang.Object getInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: The name of instance.
vpcId
Required
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: VPC ID.
vSwitchIds
Required
public java.lang.Object getVSwitchIds();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchIds: Virtual switch ID.
zoneId
Required
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: The available area ID of the instance.
autoRenew
Optional
public java.lang.Object getAutoRenew();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoRenew: When the payment type is the monthly package, the value of the value is as follows: true: Automatic renewal.
false: Manual renewal.
duration
Optional
public java.lang.Object getDuration();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property duration: Number of order cycle.
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
pricingCycle
Optional
public java.lang.Object getPricingCycle();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property pricingCycle: The ordering cycle only supports ordering in the year and month.
promotionCode
Optional
public java.lang.Object getPromotionCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property promotionCode: Promo Code.
resourceSpec
Optional
public java.lang.Object getResourceSpec();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ResourceSpecProperty
Property resourceSpec: Resource specifications.
When ChargeType is configured as PRE, the resource specification parameters must be filled.
usePromotionCode
Optional
public java.lang.Object getUsePromotionCode();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property usePromotionCode: Whether to use coupons.The value is as follows: true: Use. false: Not in use.