public class SalePackageSpec extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
SalePackageSpec()  | 
SalePackageSpec(SalePackageSpec 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 Specifies the resource pack validity period. 
 | 
Float | 
getMaxPackageSpec()
Get Specifies the maximum number of resources in the current version of the resource package. 
 | 
Float | 
getMinPackageSpec()
Get Minimum number of resources in the current version of the resource package. 
 | 
String | 
getPackageRegion()
Get Resource package region of use. 
 | 
String | 
getPackageType()
Get Specifies the resource package type. 
 | 
String | 
getPackageVersion()
Get Resource pack version. 
 | 
void | 
setExpireDay(Long ExpireDay)
Set Specifies the resource pack validity period. 
 | 
void | 
setMaxPackageSpec(Float MaxPackageSpec)
Set Specifies the maximum number of resources in the current version of the resource package. 
 | 
void | 
setMinPackageSpec(Float MinPackageSpec)
Set Minimum number of resources in the current version of the resource package. 
 | 
void | 
setPackageRegion(String PackageRegion)
Set Resource package region of use. 
 | 
void | 
setPackageType(String PackageType)
Set Specifies the resource package type. 
 | 
void | 
setPackageVersion(String PackageVersion)
Set Resource pack version. 
 | 
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 SalePackageSpec()
public SalePackageSpec(SalePackageSpec source)
public String getPackageRegion()
public void setPackageRegion(String PackageRegion)
PackageRegion - Resource package region of use.public String getPackageType()
public void setPackageType(String PackageType)
PackageType - Specifies the resource package type.
CCU - compute resource package.
Storage resource package.public String getPackageVersion()
public void setPackageVersion(String PackageVersion)
PackageVersion - Resource pack version.
base - basic version; common - general version; enterprise - enterprise edition.public Float getMinPackageSpec()
public void setMinPackageSpec(Float MinPackageSpec)
MinPackageSpec - Minimum number of resources in the current version of the resource package. compute resource unit: pieces; storage resource: GB.public Float getMaxPackageSpec()
public void setMaxPackageSpec(Float MaxPackageSpec)
MaxPackageSpec - Specifies the maximum number of resources in the current version of the resource package. valid values: compute resource unit: pieces; storage resource: GB.public Long getExpireDay()
public void setExpireDay(Long ExpireDay)
ExpireDay - Specifies the resource pack validity period. the measurement unit is day.Copyright © 2025. All rights reserved.