public class PodChargeInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
PodChargeInfo() |
PodChargeInfo(PodChargeInfo 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 |
---|---|
String |
getChargeType()
Get Billing type
PREPAID: Pod scheduled to monthly subscription super node
POSTPAID_BY_HOUR: Pay-as-you-go
RESERVED_INSTANCE: Deducted by reserved coupon in the previous period
SPOT: Bidding instance
TPOD: Preference instance
|
Float |
getCpu()
Get Pod CPU
|
String |
getGpu()
Get If the Pod is a GPU, then it indicates the number of GPU cards
Note: This field may return "null", indicating that no valid value can be obtained.
|
Float |
getMemory()
Get Pod Memory
|
String |
getName()
Get Pod name
|
String |
getNamespace()
Get Namespace
|
String |
getStartTime()
Get Pod billing start time
|
String |
getType()
Get Pod Type: intel, amd, v100, t4, a10\*gnv4, a10\*gnv4v, and so on.
|
String |
getUid()
Get UID of the pod.
|
void |
setChargeType(String ChargeType)
Set Billing type
PREPAID: Pod scheduled to monthly subscription super node
POSTPAID_BY_HOUR: Pay-as-you-go
RESERVED_INSTANCE: Deducted by reserved coupon in the previous period
SPOT: Bidding instance
TPOD: Preference instance
|
void |
setCpu(Float Cpu)
Set Pod CPU
|
void |
setGpu(String Gpu)
Set If the Pod is a GPU, then it indicates the number of GPU cards
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setMemory(Float Memory)
Set Pod Memory
|
void |
setName(String Name)
Set Pod name
|
void |
setNamespace(String Namespace)
Set Namespace
|
void |
setStartTime(String StartTime)
Set Pod billing start time
|
void |
setType(String Type)
Set Pod Type: intel, amd, v100, t4, a10\*gnv4, a10\*gnv4v, and so on.
|
void |
setUid(String Uid)
Set UID of the pod.
|
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 PodChargeInfo()
public PodChargeInfo(PodChargeInfo source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Pod billing start timepublic String getUid()
public void setUid(String Uid)
Uid
- UID of the pod.public Float getCpu()
public void setCpu(Float Cpu)
Cpu
- Pod CPUpublic Float getMemory()
public void setMemory(Float Memory)
Memory
- Pod Memorypublic String getType()
public void setType(String Type)
Type
- Pod Type: intel, amd, v100, t4, a10\*gnv4, a10\*gnv4v, and so on.public String getGpu()
public void setGpu(String Gpu)
Gpu
- If the Pod is a GPU, then it indicates the number of GPU cards
Note: This field may return "null", indicating that no valid value can be obtained.public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType
- Billing type
PREPAID: Pod scheduled to monthly subscription super node
POSTPAID_BY_HOUR: Pay-as-you-go
RESERVED_INSTANCE: Deducted by reserved coupon in the previous period
SPOT: Bidding instance
TPOD: Preference instancepublic String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespacepublic String getName()
public void setName(String Name)
Name
- Pod nameCopyright © 2024. All rights reserved.