BandwidthPackage
This class encapsulates and extends the ROS resource type ALIYUN::GA::BandwidthPackage
, which is used to create a bandwidth plan.
Initializers
import com.aliyun.ros.cdk.ga.BandwidthPackage;
BandwidthPackage.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.bandwidth(java.lang.Number)
.bandwidth(IResolvable)
.type(java.lang.String)
.type(IResolvable)
// .autoPay(java.lang.Boolean)
// .autoPay(IResolvable)
// .autoUseCoupon(java.lang.String)
// .autoUseCoupon(IResolvable)
// .bandwidthType(java.lang.String)
// .bandwidthType(IResolvable)
// .billingType(java.lang.String)
// .billingType(IResolvable)
// .cbnGeographicRegionIdA(java.lang.String)
// .cbnGeographicRegionIdA(IResolvable)
// .cbnGeographicRegionIdB(java.lang.String)
// .cbnGeographicRegionIdB(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
// .duration(java.lang.String)
// .duration(IResolvable)
// .pricingCycle(java.lang.String)
// .pricingCycle(IResolvable)
// .ratio(java.lang.String)
// .ratio(IResolvable)
.build();
Name | Type | Description |
---|---|---|
scope |
com.aliyun.ros.cdk.core.Construct |
No description. |
id |
java.lang.String |
No description. |
enableResourcePropertyConstraint |
java.lang.Boolean |
No description. |
bandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property bandwidth: The bandwidth provided by the bandwidth plan. |
type |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property type: The type of the bandwidth plan. |
autoPay |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoPay: Specifies whether to enable automatic payment. |
autoUseCoupon |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property autoUseCoupon: The AutoUseCoupon of the bandwidth. |
bandwidthType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bandwidthType: the bandwidth BandwidthType of the bandwidth. |
billingType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property billingType: The BillingType of the bandwidth. |
cbnGeographicRegionIdA |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth. |
cbnGeographicRegionIdB |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth. |
chargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property chargeType: The ChargeType of the bandwidth. |
duration |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property duration:. |
pricingCycle |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property pricingCycle:. |
ratio |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ratio: The Ratio of the bandwidth. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
bandwidth
Required
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property bandwidth: The bandwidth provided by the bandwidth plan.
type
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: The type of the bandwidth plan.
autoPay
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoPay: Specifies whether to enable automatic payment.
autoUseCoupon
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property autoUseCoupon: The AutoUseCoupon of the bandwidth.
bandwidthType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bandwidthType: the bandwidth BandwidthType of the bandwidth.
billingType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property billingType: The BillingType of the bandwidth.
cbnGeographicRegionIdA
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth.
cbnGeographicRegionIdB
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth.
chargeType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: The ChargeType of the bandwidth.
duration
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property duration:.
pricingCycle
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property pricingCycle:.
ratio
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ratio: The Ratio of the bandwidth.
Methods
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import com.aliyun.ros.cdk.ga.BandwidthPackage;
BandwidthPackage.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
Properties
Name | Type | Description |
---|---|---|
node |
com.aliyun.ros.cdk.core.ConstructNode |
The construct tree node associated with this construct. |
ref |
java.lang.String |
No description. |
stack |
com.aliyun.ros.cdk.core.Stack |
The stack in which this resource is defined. |
resource |
com.aliyun.ros.cdk.core.RosResource |
No description. |
attrAutoPay |
com.aliyun.ros.cdk.core.IResolvable |
Attribute AutoPay: The AutoPay of the bandwidth. |
attrAutoUseCoupon |
com.aliyun.ros.cdk.core.IResolvable |
Attribute AutoUseCoupon: The AutoUseCoupon of the bandwidth. |
attrBandwidth |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Bandwidth: The bandwidth provided by the bandwidth plan. |
attrBandwidthPackageId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BandwidthPackageId: The Resource ID of the bandwidth. |
attrBandwidthPackageName |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BandwidthPackageName: The Resource name of the bandwidth. |
attrBandwidthType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BandwidthType: the bandwidth BandwidthType of the bandwidth. |
attrBillingType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BillingType: The BillingType of the bandwidth. |
attrCbnGeographicRegionIdA |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth. |
attrCbnGeographicRegionIdB |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth. |
attrChargeType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ChargeType: The ChargeType of the bandwidth. |
attrPaymentType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute PaymentType: The Payment Type of the bandwidth. |
attrRatio |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Ratio: The Ratio of the bandwidth. |
attrType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Type: The type of the bandwidth plan. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrAutoPay
Required
public IResolvable getAttrAutoPay();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute AutoPay: The AutoPay of the bandwidth.
attrAutoUseCoupon
Required
public IResolvable getAttrAutoUseCoupon();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute AutoUseCoupon: The AutoUseCoupon of the bandwidth.
attrBandwidth
Required
public IResolvable getAttrBandwidth();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Bandwidth: The bandwidth provided by the bandwidth plan.
attrBandwidthPackageId
Required
public IResolvable getAttrBandwidthPackageId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BandwidthPackageId: The Resource ID of the bandwidth.
attrBandwidthPackageName
Required
public IResolvable getAttrBandwidthPackageName();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BandwidthPackageName: The Resource name of the bandwidth.
attrBandwidthType
Required
public IResolvable getAttrBandwidthType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BandwidthType: the bandwidth BandwidthType of the bandwidth.
attrBillingType
Required
public IResolvable getAttrBillingType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BillingType: The BillingType of the bandwidth.
attrCbnGeographicRegionIdA
Required
public IResolvable getAttrCbnGeographicRegionIdA();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth.
attrCbnGeographicRegionIdB
Required
public IResolvable getAttrCbnGeographicRegionIdB();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth.
attrChargeType
Required
public IResolvable getAttrChargeType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ChargeType: The ChargeType of the bandwidth.
attrPaymentType
Required
public IResolvable getAttrPaymentType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute PaymentType: The Payment Type of the bandwidth.
attrRatio
Required
public IResolvable getAttrRatio();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Ratio: The Ratio of the bandwidth.
attrType
Required
public IResolvable getAttrType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Type: The type of the bandwidth plan.