Skip to content

ResourcePackageProps

Properties for defining a ResourcePackage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cdt-resourcepackage

Initializer

import com.aliyun.ros.cdk.cdt.ResourcePackageProps;
ResourcePackageProps.builder()
    .capacity(java.lang.Number)
    .capacity(IResolvable)
    .pack(java.lang.String)
    .pack(IResolvable)
    .region(java.lang.String)
    .region(IResolvable)
//  .isp(java.lang.String)
//  .isp(IResolvable)
    .build();

Properties

Name Type Description
capacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property capacity: The capacity of the specified CDT resource package.
pack java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property pack: The pack of the specified CDT resource package.
region java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property region: The region of the specified CDT resource package.
isp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property isp: The ISP of the specified CDT resource package.

capacityRequired

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

Property capacity: The capacity of the specified CDT resource package.


packRequired

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

Property pack: The pack of the specified CDT resource package.

It can be obtained from the components field in the payload of the getPrice network request on the CDT common buy page.


regionRequired

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

Property region: The region of the specified CDT resource package.


ispOptional

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

Property isp: The ISP of the specified CDT resource package.