Package com.exoscale.sdk.model
Class SksNodepool
- java.lang.Object
-
- com.exoscale.sdk.model.SksNodepool
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class SksNodepool extends Object
SKS Nodepool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SksNodepool.AddonsEnum
Gets or Sets addonsstatic class
SksNodepool.PublicIpAssignmentEnum
Nodepool public IP assignment of the Instances: * IPv4 (`inet4`) addressing only; * IPv4 and IPv6 (`dual`) addressing.static class
SksNodepool.StateEnum
Nodepool state
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ADDONS
static String
JSON_PROPERTY_ANTI_AFFINITY_GROUPS
static String
JSON_PROPERTY_CREATED_AT
static String
JSON_PROPERTY_DEPLOY_TARGET
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_DISK_SIZE
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_INSTANCE_POOL
static String
JSON_PROPERTY_INSTANCE_PREFIX
static String
JSON_PROPERTY_INSTANCE_TYPE
static String
JSON_PROPERTY_KUBELET_IMAGE_GC
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PRIVATE_NETWORKS
static String
JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
static String
JSON_PROPERTY_SECURITY_GROUPS
static String
JSON_PROPERTY_SIZE
static String
JSON_PROPERTY_STATE
static String
JSON_PROPERTY_TAINTS
static String
JSON_PROPERTY_TEMPLATE
static String
JSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description SksNodepool()
SksNodepool(SksNodepool.StateEnum state, UUID id, String version, OffsetDateTime createdAt)
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ANTI_AFFINITY_GROUPS
public static final String JSON_PROPERTY_ANTI_AFFINITY_GROUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
public static final String JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAINTS
public static final String JSON_PROPERTY_TAINTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECURITY_GROUPS
public static final String JSON_PROPERTY_SECURITY_GROUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCE_TYPE
public static final String JSON_PROPERTY_INSTANCE_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIVATE_NETWORKS
public static final String JSON_PROPERTY_PRIVATE_NETWORKS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TEMPLATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KUBELET_IMAGE_GC
public static final String JSON_PROPERTY_KUBELET_IMAGE_GC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCE_POOL
public static final String JSON_PROPERTY_INSTANCE_POOL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCE_PREFIX
public static final String JSON_PROPERTY_INSTANCE_PREFIX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEPLOY_TARGET
public static final String JSON_PROPERTY_DEPLOY_TARGET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDONS
public static final String JSON_PROPERTY_ADDONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_SIZE
public static final String JSON_PROPERTY_DISK_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SksNodepool
public SksNodepool()
-
SksNodepool
public SksNodepool(SksNodepool.StateEnum state, UUID id, String version, OffsetDateTime createdAt)
-
-
Method Detail
-
antiAffinityGroups
public SksNodepool antiAffinityGroups(List<AntiAffinityGroup> antiAffinityGroups)
-
addAntiAffinityGroupsItem
public SksNodepool addAntiAffinityGroupsItem(AntiAffinityGroup antiAffinityGroupsItem)
-
getAntiAffinityGroups
@Nullable public List<AntiAffinityGroup> getAntiAffinityGroups()
Nodepool Anti-affinity Groups- Returns:
- antiAffinityGroups
-
setAntiAffinityGroups
public void setAntiAffinityGroups(List<AntiAffinityGroup> antiAffinityGroups)
-
description
public SksNodepool description(String description)
-
getDescription
@Nullable public String getDescription()
Nodepool description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
publicIpAssignment
public SksNodepool publicIpAssignment(SksNodepool.PublicIpAssignmentEnum publicIpAssignment)
-
getPublicIpAssignment
@Nullable public SksNodepool.PublicIpAssignmentEnum getPublicIpAssignment()
Nodepool public IP assignment of the Instances: * IPv4 (`inet4`) addressing only; * IPv4 and IPv6 (`dual`) addressing.- Returns:
- publicIpAssignment
-
setPublicIpAssignment
public void setPublicIpAssignment(SksNodepool.PublicIpAssignmentEnum publicIpAssignment)
-
labels
public SksNodepool labels(Map<String,String> labels)
-
putLabelsItem
public SksNodepool putLabelsItem(String key, String labelsItem)
-
taints
public SksNodepool taints(Map<String,SksNodepoolTaint> taints)
-
putTaintsItem
public SksNodepool putTaintsItem(String key, SksNodepoolTaint taintsItem)
-
getTaints
@Nullable public Map<String,SksNodepoolTaint> getTaints()
Get taints- Returns:
- taints
-
setTaints
public void setTaints(Map<String,SksNodepoolTaint> taints)
-
securityGroups
public SksNodepool securityGroups(List<SecurityGroup> securityGroups)
-
addSecurityGroupsItem
public SksNodepool addSecurityGroupsItem(SecurityGroup securityGroupsItem)
-
getSecurityGroups
@Nullable public List<SecurityGroup> getSecurityGroups()
Nodepool Security Groups- Returns:
- securityGroups
-
setSecurityGroups
public void setSecurityGroups(List<SecurityGroup> securityGroups)
-
name
public SksNodepool name(String name)
-
getName
@Nullable public String getName()
Nodepool name- Returns:
- name
-
setName
public void setName(String name)
-
instanceType
public SksNodepool instanceType(InstanceType instanceType)
-
getInstanceType
@Nullable public InstanceType getInstanceType()
Get instanceType- Returns:
- instanceType
-
setInstanceType
public void setInstanceType(InstanceType instanceType)
-
privateNetworks
public SksNodepool privateNetworks(List<PrivateNetwork> privateNetworks)
-
addPrivateNetworksItem
public SksNodepool addPrivateNetworksItem(PrivateNetwork privateNetworksItem)
-
getPrivateNetworks
@Nullable public List<PrivateNetwork> getPrivateNetworks()
Nodepool Private Networks- Returns:
- privateNetworks
-
setPrivateNetworks
public void setPrivateNetworks(List<PrivateNetwork> privateNetworks)
-
template
public SksNodepool template(Template template)
-
getTemplate
@Nullable public Template getTemplate()
Get template- Returns:
- template
-
setTemplate
public void setTemplate(Template template)
-
getState
@Nullable public SksNodepool.StateEnum getState()
Nodepool state- Returns:
- state
-
size
public SksNodepool size(Long size)
-
getSize
@Nullable public Long getSize()
Number of instances minimum: 0- Returns:
- size
-
setSize
public void setSize(Long size)
-
kubeletImageGc
public SksNodepool kubeletImageGc(KubeletImageGc kubeletImageGc)
-
getKubeletImageGc
@Nullable public KubeletImageGc getKubeletImageGc()
Get kubeletImageGc- Returns:
- kubeletImageGc
-
setKubeletImageGc
public void setKubeletImageGc(KubeletImageGc kubeletImageGc)
-
instancePool
public SksNodepool instancePool(InstancePool instancePool)
-
getInstancePool
@Nullable public InstancePool getInstancePool()
Get instancePool- Returns:
- instancePool
-
setInstancePool
public void setInstancePool(InstancePool instancePool)
-
instancePrefix
public SksNodepool instancePrefix(String instancePrefix)
-
getInstancePrefix
@Nullable public String getInstancePrefix()
The instances created by the Nodepool will be prefixed with this value (default: pool)- Returns:
- instancePrefix
-
setInstancePrefix
public void setInstancePrefix(String instancePrefix)
-
deployTarget
public SksNodepool deployTarget(DeployTarget deployTarget)
-
getDeployTarget
@Nullable public DeployTarget getDeployTarget()
Get deployTarget- Returns:
- deployTarget
-
setDeployTarget
public void setDeployTarget(DeployTarget deployTarget)
-
addons
public SksNodepool addons(Set<SksNodepool.AddonsEnum> addons)
-
addAddonsItem
public SksNodepool addAddonsItem(SksNodepool.AddonsEnum addonsItem)
-
getAddons
@Nullable public Set<SksNodepool.AddonsEnum> getAddons()
Nodepool addons- Returns:
- addons
-
setAddons
public void setAddons(Set<SksNodepool.AddonsEnum> addons)
-
getId
@Nullable public UUID getId()
Nodepool ID- Returns:
- id
-
diskSize
public SksNodepool diskSize(Long diskSize)
-
getDiskSize
@Nullable public Long getDiskSize()
Nodepool instances disk size in GiB minimum: 20 maximum: 51200- Returns:
- diskSize
-
setDiskSize
public void setDiskSize(Long diskSize)
-
getVersion
@Nullable public String getVersion()
Nodepool version- Returns:
- version
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Nodepool creation date- Returns:
- createdAt
-
equals
public boolean equals(Object o)
Return true if this sks-nodepool object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-