public class SpecInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
SpecInfo() |
SpecInfo(SpecInfo 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 |
getCPU()
Get Number of CPU cores
|
String |
getInstanceType()
Get Instance type.
|
String |
getMachineType()
Get Model ID
|
String |
getMachineTypeName()
Get Model name
|
Long |
getMaxStorage()
Get Maximum disk size under this specification in GB
|
Long |
getMemory()
Get Memory size in GB
|
Long |
getMinStorage()
Get Minimum disk size under this specification in GB
|
String |
getMultiZonesStatus()
Get Whether multi-AZ deployment is supported.
|
String |
getPayModeStatus()
Get Billing mode under this specification.
|
Long |
getPid()
Get Pid of this specification
|
Long[] |
getPostPid()
Get Pay-as-you-go Pid list corresponding to this specification
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getQPS()
Get QPS of this specification
|
Long |
getSpecId()
Get Instance specification ID.
|
String |
getSuitInfo()
Get Description of this specification
|
String |
getVersion()
Get Database version information.
|
String |
getVersionName()
Get Version name corresponding to the `Version` field
|
void |
setCPU(Long CPU)
Set Number of CPU cores
|
void |
setInstanceType(String InstanceType)
Set Instance type.
|
void |
setMachineType(String MachineType)
Set Model ID
|
void |
setMachineTypeName(String MachineTypeName)
Set Model name
|
void |
setMaxStorage(Long MaxStorage)
Set Maximum disk size under this specification in GB
|
void |
setMemory(Long Memory)
Set Memory size in GB
|
void |
setMinStorage(Long MinStorage)
Set Minimum disk size under this specification in GB
|
void |
setMultiZonesStatus(String MultiZonesStatus)
Set Whether multi-AZ deployment is supported.
|
void |
setPayModeStatus(String PayModeStatus)
Set Billing mode under this specification.
|
void |
setPid(Long Pid)
Set Pid of this specification
|
void |
setPostPid(Long[] PostPid)
Set Pay-as-you-go Pid list corresponding to this specification
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setQPS(Long QPS)
Set QPS of this specification
|
void |
setSpecId(Long SpecId)
Set Instance specification ID.
|
void |
setSuitInfo(String SuitInfo)
Set Description of this specification
|
void |
setVersion(String Version)
Set Database version information.
|
void |
setVersionName(String VersionName)
Set Version name corresponding to the `Version` field
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SpecInfo()
public SpecInfo(SpecInfo source)
public Long getSpecId()
public void setSpecId(Long SpecId)
SpecId
- Instance specification ID. The `SpecId` returned by `DescribeZones` together with the purchasable specification information returned by `DescribeProductConfig` can be used to find out what specifications can be purchased in a specified AZpublic String getMachineType()
public void setMachineType(String MachineType)
MachineType
- Model IDpublic String getMachineTypeName()
public void setMachineTypeName(String MachineTypeName)
MachineTypeName
- Model namepublic String getVersion()
public void setVersion(String Version)
Version
- Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise)public String getVersionName()
public void setVersionName(String VersionName)
VersionName
- Version name corresponding to the `Version` fieldpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GBpublic Long getCPU()
public void setCPU(Long CPU)
CPU
- Number of CPU corespublic Long getMinStorage()
public void setMinStorage(Long MinStorage)
MinStorage
- Minimum disk size under this specification in GBpublic Long getMaxStorage()
public void setMaxStorage(Long MaxStorage)
MaxStorage
- Maximum disk size under this specification in GBpublic Long getQPS()
public void setQPS(Long QPS)
QPS
- QPS of this specificationpublic String getSuitInfo()
public void setSuitInfo(String SuitInfo)
SuitInfo
- Description of this specificationpublic Long getPid()
public void setPid(Long Pid)
Pid
- Pid of this specificationpublic Long[] getPostPid()
public void setPostPid(Long[] PostPid)
PostPid
- Pay-as-you-go Pid list corresponding to this specification
Note: this field may return null, indicating that no valid values can be obtained.public String getPayModeStatus()
public void setPayModeStatus(String PayModeStatus)
PayModeStatus
- Billing mode under this specification. POST: pay-as-you-gopublic String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance type. Valid values: HA (High-Availability Edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (Basic Edition)public String getMultiZonesStatus()
public void setMultiZonesStatus(String MultiZonesStatus)
MultiZonesStatus
- Whether multi-AZ deployment is supported. Valid values: MultiZones (only multi-AZ deployment is supported), SameZones (only single-AZ deployment is supported), ALL (both deployments are supported)Copyright © 2024. All rights reserved.