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. |
bandwidth
Required
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.
officeSiteId
Required
public java.lang.Object getOfficeSiteId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property officeSiteId: The ID of the workspace.
autoPay
Optional
public java.lang.Object getAutoPay();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoPay: Specifies whether to enable automatic payment.
autoRenew
Optional
public java.lang.Object getAutoRenew();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoRenew: Specifies whether to enable auto-renewal.
internetChargeType
Optional
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.
payType
Optional
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
period
Optional
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.
periodUnit
Optional
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
promotionId
Optional
public java.lang.Object getPromotionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property promotionId: The ID of the sales promotion.