public class PodNewSpec extends AbstractModel
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 The 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 The unique VPC subnet ID.
|
String |
getVpcId()
Get The unique VPC ID.
|
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 The 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 The unique VPC subnet ID.
|
void |
setVpcId(String VpcId)
Set The unique VPC ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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
- The unique VPC ID.
Note: This field may return null, indicating that no valid values can be obtained.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- The unique VPC subnet ID.
Note: This field may return null, indicating that no valid values can be obtained.public String getPodName()
public void setPodName(String PodName)
PodName
- The pod name.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.