Skip to content

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 OR com.aliyun.ros.cdk.core.IResolvable 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.

bucketRequired

public java.lang.Object getBucket();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bucket: OSS bucket name.


chargeTypeRequired

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.


instanceNameRequired

public java.lang.Object getInstanceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceName: The name of instance.


vpcIdRequired

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: VPC ID.


vSwitchIdsRequired

public java.lang.Object getVSwitchIds();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchIds: Virtual switch ID.


zoneIdRequired

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.


autoRenewOptional

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.


durationOptional

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


pricingCycleOptional

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.


promotionCodeOptional

public java.lang.Object getPromotionCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property promotionCode: Promo Code.


resourceSpecOptional

public java.lang.Object getResourceSpec();

Property resourceSpec: Resource specifications.

When ChargeType is configured as PRE, the resource specification parameters must be filled.


usePromotionCodeOptional

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.