public class PodNewSpec extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
PodNewSpec()  | 
PodNewSpec(PodNewSpec 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 The number of CPUs. 
 | 
String | 
getCpuType()
Get The EKS cluster - CPU type. 
 | 
DynamicPodSpec | 
getDynamicPodSpec()
Get The dynamic spec. 
 | 
Boolean | 
getEnableDynamicSpecFlag()
Get Whether the dynamic spec is used. 
 | 
Long | 
getMemory()
Get The memory size in GB. 
 | 
String | 
getNodeFlag()
Get The purpose of the resource, which means the node type and can only be "TASK". 
 | 
String | 
getPodName()
Get pod name 
 | 
PodVolume[] | 
getPodVolumes()
Get The data directory mounting information of the pod node. 
 | 
String | 
getResourceProviderIdentifier()
Get The identifier of an external resource provider, such as "cls-a1cd23fa". 
 | 
String | 
getResourceProviderType()
Get The type of the external resource provider, such as "tke". 
 | 
String | 
getSubnetId()
Get Unique ID of a VPC subnet. 
 | 
String | 
getVpcId()
Get Unique ID of VPC network. 
 | 
void | 
setCpu(Long Cpu)
Set The number of CPUs. 
 | 
void | 
setCpuType(String CpuType)
Set The EKS cluster - CPU type. 
 | 
void | 
setDynamicPodSpec(DynamicPodSpec DynamicPodSpec)
Set The dynamic spec. 
 | 
void | 
setEnableDynamicSpecFlag(Boolean EnableDynamicSpecFlag)
Set Whether the dynamic spec is used. 
 | 
void | 
setMemory(Long Memory)
Set The memory size in GB. 
 | 
void | 
setNodeFlag(String NodeFlag)
Set The purpose of the resource, which means the node type and can only be "TASK". 
 | 
void | 
setPodName(String PodName)
Set pod name 
 | 
void | 
setPodVolumes(PodVolume[] PodVolumes)
Set The data directory mounting information of the pod node. 
 | 
void | 
setResourceProviderIdentifier(String ResourceProviderIdentifier)
Set The identifier of an external resource provider, such as "cls-a1cd23fa". 
 | 
void | 
setResourceProviderType(String ResourceProviderType)
Set The type of the external resource provider, such as "tke". 
 | 
void | 
setSubnetId(String SubnetId)
Set Unique ID of a VPC subnet. 
 | 
void | 
setVpcId(String VpcId)
Set Unique ID of VPC network. 
 | 
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 PodNewSpec()
public PodNewSpec(PodNewSpec source)
public String getResourceProviderIdentifier()
public void setResourceProviderIdentifier(String ResourceProviderIdentifier)
ResourceProviderIdentifier - The identifier of an external resource provider, such as "cls-a1cd23fa".public String getResourceProviderType()
public void setResourceProviderType(String ResourceProviderType)
ResourceProviderType - The type of the external resource provider, such as "tke". Currently, only "tke" is supported.public String getNodeFlag()
public void setNodeFlag(String NodeFlag)
NodeFlag - The purpose of the resource, which means the node type and can only be "TASK".public Long getCpu()
public void setCpu(Long Cpu)
Cpu - The number of CPUs.public Long getMemory()
public void setMemory(Long Memory)
Memory - The memory size in GB.public String getCpuType()
public void setCpuType(String CpuType)
CpuType - The EKS cluster - CPU type. Valid values: `intel` and `amd`.public PodVolume[] getPodVolumes()
public void setPodVolumes(PodVolume[] PodVolumes)
PodVolumes - The data directory mounting information of the pod node.public Boolean getEnableDynamicSpecFlag()
public void setEnableDynamicSpecFlag(Boolean EnableDynamicSpecFlag)
EnableDynamicSpecFlag - Whether the dynamic spec is used. Valid values:
public DynamicPodSpec getDynamicPodSpec()
public void setDynamicPodSpec(DynamicPodSpec DynamicPodSpec)
DynamicPodSpec - The dynamic spec.
Note: This field may return null, indicating that no valid values can be obtained.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - Unique ID of VPC network.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - Unique ID of a VPC subnet.public String getPodName()
public void setPodName(String PodName)
PodName - pod nameCopyright © 2025. All rights reserved.