QuotaProps
Properties for defining a Quota.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-maxcompute-quota
Initializer
import com.aliyun.ros.cdk.maxcompute.QuotaProps;
QuotaProps.builder()
.payType(java.lang.String)
.payType(IResolvable)
// .autoPay(java.lang.Boolean)
// .autoPay(IResolvable)
// .autoRenew(java.lang.Boolean)
// .autoRenew(IResolvable)
// .cu(java.lang.Number)
// .cu(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .quotaNickname(java.lang.String)
// .quotaNickname(IResolvable)
// .specification(java.lang.String)
// .specification(IResolvable)
// .tunnel(java.lang.Number)
// .tunnel(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
payType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property payType: The billing method of the odps quota instance. |
autoPay | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property autoPay: Whether to auto pay the bill. |
autoRenew | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property autoRenew: Whether to auto renew the prepay instance. |
cu | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property cu: The compute unit of the odps quota instance. |
period | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property period: The subscription period of the odps quotaIf PeriodUnit is month, the valid range is 1-9 If periodUnit is year, the valid range is 1, 2, 3, 4, 5. |
periodUnit | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property periodUnit: The unit of the subscription duration. |
quotaNickname | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property quotaNickname: The nickname of the odps quota instance. |
specification | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property specification: The specification of the odps quota instance. |
tunnel | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property tunnel: The tunnel unit of the odps quota instance. |
payTypeRequired
public java.lang.Object getPayType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property payType: The billing method of the odps quota instance.
Valid values: PayAsYouGo: pay-as-you-go Subscription: subscription
autoPayOptional
public java.lang.Object getAutoPay();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoPay: Whether to auto pay the bill.
autoRenewOptional
public java.lang.Object getAutoRenew();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoRenew: Whether to auto renew the prepay instance.
cuOptional
public java.lang.Object getCu();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cu: The compute unit of the odps quota instance.
When the specification is the StandardCompute, this parameter is required.
periodOptional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The subscription period of the odps quotaIf PeriodUnit is month, the valid range is 1-9 If periodUnit is year, the valid range is 1, 2, 3, 4, 5.
periodUnitOptional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: The unit of the subscription duration.
Valid values: Month Year Default value: Month.
quotaNicknameOptional
public java.lang.Object getQuotaNickname();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property quotaNickname: The nickname of the odps quota instance.
specificationOptional
public java.lang.Object getSpecification();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property specification: The specification of the odps quota instance.
tunnelOptional
public java.lang.Object getTunnel();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property tunnel: The tunnel unit of the odps quota instance.
When the specification is the Tunnel, this parameter is required