public class CreateResourcePackageRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateResourcePackageRequest()  | 
CreateResourcePackageRequest(CreateResourcePackageRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Long | 
getExpireDay()
Get Validity period of a resource pack in days 
 | 
String | 
getInstanceType()
Get Instance type. 
 | 
Long | 
getPackageCount()
Get Number of the resource packs to be purchased 
 | 
String | 
getPackageName()
Get Resource pack name 
 | 
String | 
getPackageRegion()
Get Resource package region of use: chineseMainland - common in the chinese mainland. 
 | 
Float | 
getPackageSpec()
Get Resource pack size. 
 | 
String | 
getPackageType()
Get Resource pack type. 
 | 
String | 
getPackageVersion()
Get Resource pack edition. 
 | 
void | 
setExpireDay(Long ExpireDay)
Set Validity period of a resource pack in days 
 | 
void | 
setInstanceType(String InstanceType)
Set Instance type. 
 | 
void | 
setPackageCount(Long PackageCount)
Set Number of the resource packs to be purchased 
 | 
void | 
setPackageName(String PackageName)
Set Resource pack name 
 | 
void | 
setPackageRegion(String PackageRegion)
Set Resource package region of use: chineseMainland - common in the chinese mainland. 
 | 
void | 
setPackageSpec(Float PackageSpec)
Set Resource pack size. 
 | 
void | 
setPackageType(String PackageType)
Set Resource pack type. 
 | 
void | 
setPackageVersion(String PackageVersion)
Set Resource pack edition. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateResourcePackageRequest()
public CreateResourcePackageRequest(CreateResourcePackageRequest source)
public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType - Instance type. currently fixed to cynosdb-serverless.public String getPackageRegion()
public void setPackageRegion(String PackageRegion)
PackageRegion - Resource package region of use: chineseMainland - common in the chinese mainland. overseas - universally applicable in hong kong (china), macao (china), taiwan (china), and overseas.public String getPackageType()
public void setPackageType(String PackageType)
PackageType - Resource pack type. Valid values: `CCU` (compute resource pack), `DISK` (storage resource pack).public String getPackageVersion()
public void setPackageVersion(String PackageVersion)
PackageVersion - Resource pack edition. Valid values: `base` (basic edition), `common` (general edition), `enterprise` (enterprise edition).public Float getPackageSpec()
public void setPackageSpec(Float PackageSpec)
PackageSpec - Resource pack size. Unit of the compute resource pack: Ten thousand.  Unit of the storage resource pack:  GBpublic Long getExpireDay()
public void setExpireDay(Long ExpireDay)
ExpireDay - Validity period of a resource pack in dayspublic Long getPackageCount()
public void setPackageCount(Long PackageCount)
PackageCount - Number of the resource packs to be purchasedpublic String getPackageName()
public void setPackageName(String PackageName)
PackageName - Resource pack nameCopyright © 2025. All rights reserved.