Skip to content

NetworkPackageProps

Properties for defining a NetworkPackage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecd-networkpackage

Initializer

import com.aliyun.ros.cdk.ecd.NetworkPackageProps;
NetworkPackageProps.builder()
    .bandwidth(java.lang.Number)
    .bandwidth(IResolvable)
    .officeSiteId(java.lang.String)
    .officeSiteId(IResolvable)
//  .autoPay(java.lang.Boolean)
//  .autoPay(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .internetChargeType(java.lang.String)
//  .internetChargeType(IResolvable)
//  .payType(java.lang.String)
//  .payType(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .periodUnit(java.lang.String)
//  .periodUnit(IResolvable)
//  .promotionId(java.lang.String)
//  .promotionId(IResolvable)
    .build();

Properties

Name Type Description
bandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property bandwidth: The maximum public bandwidth.
officeSiteId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property officeSiteId: The ID of the workspace.
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.
internetChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internetChargeType: The metering method of the pay-as-you-go Internet access package.
payType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property payType: The billing method of the Internet access package.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: The duration of the Internet access package.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodUnit: The unit of duration that you want to use for the Internet access package.
promotionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property promotionId: The ID of the sales promotion.

bandwidthRequired

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

Property bandwidth: The maximum public bandwidth.

Unit: Mbit/s. Valid values for the pay-by-data-transfer type (PayByTraffic): 10 to 200. Valid values for the pay-by-bandwith type (PayByBandwidth): 10 to 1000.


officeSiteIdRequired

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

Property officeSiteId: The ID of the workspace.


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.


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.


internetChargeTypeOptional

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

Property internetChargeType: The metering method of the pay-as-you-go Internet access package.

Valid values: PayByTraffic: pay-by-data-transfer. PayByBandwidth: pay-by-bandwidth. Default value: PayByTraffic.


payTypeOptional

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

Property payType: The billing method of the Internet access package.

Enumeration Value: PostPaid PrePaid


periodOptional

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

Property period: The duration of the Internet access package.


periodUnitOptional

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

Property periodUnit: The unit of duration that you want to use for the Internet access package.

Enumeration Value: MonthYearWeek


promotionIdOptional

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

Property promotionId: The ID of the sales promotion.