Skip to content

BasicAcceleratorProps

Properties for defining a BasicAccelerator.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-basicaccelerator

Initializer

import com.aliyun.ros.cdk.ga.BasicAcceleratorProps;
BasicAcceleratorProps.builder()
//  .autoPay(java.lang.Boolean)
//  .autoPay(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .autoRenewDuration(java.lang.Number)
//  .autoRenewDuration(IResolvable)
//  .autoUseCoupon(java.lang.String)
//  .autoUseCoupon(IResolvable)
//  .bandwidthBillingType(java.lang.String)
//  .bandwidthBillingType(IResolvable)
//  .chargeType(java.lang.String)
//  .chargeType(IResolvable)
//  .duration(java.lang.Number)
//  .duration(IResolvable)
//  .pricingCycle(java.lang.String)
//  .pricingCycle(IResolvable)
//  .promotionOptionNo(java.lang.String)
//  .promotionOptionNo(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
autoPay java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoPay: Specifies whether to enable automatic payment.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenew: Specifies whether to enable auto-renewal for the basic GA instance.
autoRenewDuration java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property autoRenewDuration: The auto-renewal duration.
autoUseCoupon java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property autoUseCoupon: Specifies whether to automatically apply coupons to your bills.
bandwidthBillingType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bandwidthBillingType: The bandwidth billing method.
chargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property chargeType: The billing method.
duration java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property duration: The subscription duration of the GA instance.
pricingCycle java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property pricingCycle: The billing cycle.
promotionOptionNo java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property promotionOptionNo: The code of the coupon.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group to which the basic GA instance belongs.
tags java.util.List<TagsProperty> Property tags: The tags of the basic GA instance.

autoPayOptional

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

Property autoPay: Specifies whether to enable automatic payment.

Valid values: false: disables automatic payment. If you select this option, you must go to the Order Center to complete the payment after an order is generated. This is the default value. true: enables automatic payment. Payments are automatically completed.


autoRenewOptional

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

Property autoRenew: Specifies whether to enable auto-renewal for the basic GA instance.

Valid values: true: enables auto-renewal for the basic GA instance. false: disables auto-renewal for the basic GA instance. This is the default value.


autoRenewDurationOptional

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

Property autoRenewDuration: The auto-renewal duration.

Unit: months.Valid values: 1 to 12. Default value: 1.


autoUseCouponOptional

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

Property autoUseCoupon: Specifies whether to automatically apply coupons to your bills.

Valid values: true: automatically applies coupons to your bills. false: does not automatically apply coupons to your bills. This is the default value.


bandwidthBillingTypeOptional

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

Property bandwidthBillingType: The bandwidth billing method.

Valid values: BandwidthPackage: billed based on bandwidth plans. CDT: billed based on data transfer. The bills are managed by using Cloud Data Transfer (CDT). CDT95: billed based on the 95th percentile bandwidth. The bills are managed by using Cloud Data Transfer (CDT). This bandwidth billing method is not available by default. Contact your Alibaba Cloud account manager for more information.


chargeTypeOptional

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

Property chargeType: The billing method.

Valid values: PREPAY (default)POSTPAY


durationOptional

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

Property duration: The subscription duration of the GA instance.

If you set PricingCycle to Month, the valid values for Duration are 1 to 9. If you set PricingCycle to Year, the valid values for Duration are 1 to 3.


pricingCycleOptional

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

Property pricingCycle: The billing cycle.

Valid values: Month Year


promotionOptionNoOptional

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

Property promotionOptionNo: The code of the coupon.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group to which the basic GA instance belongs.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: The tags of the basic GA instance.