Package com.exoscale.sdk.model
Class CreateSksNodepoolRequest
- java.lang.Object
-
- com.exoscale.sdk.model.CreateSksNodepoolRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class CreateSksNodepoolRequest extends Object
CreateSksNodepoolRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateSksNodepoolRequest.AddonsEnum
Gets or Sets addonsstatic class
CreateSksNodepoolRequest.PublicIpAssignmentEnum
Configures public IP assignment of the Instances with: * IPv4 (`inet4`) addressing only (default); * both IPv4 and IPv6 (`dual`) addressing.
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ADDONS
static String
JSON_PROPERTY_ANTI_AFFINITY_GROUPS
static String
JSON_PROPERTY_DEPLOY_TARGET
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_DISK_SIZE
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_TAINTS
-
Constructor Summary
Constructors Constructor Description CreateSksNodepoolRequest()
-
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_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_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_DISK_SIZE
public static final String JSON_PROPERTY_DISK_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
antiAffinityGroups
public CreateSksNodepoolRequest antiAffinityGroups(Set<AntiAffinityGroup> antiAffinityGroups)
-
addAntiAffinityGroupsItem
public CreateSksNodepoolRequest addAntiAffinityGroupsItem(AntiAffinityGroup antiAffinityGroupsItem)
-
getAntiAffinityGroups
@Nullable public Set<AntiAffinityGroup> getAntiAffinityGroups()
Nodepool Anti-affinity Groups- Returns:
- antiAffinityGroups
-
setAntiAffinityGroups
public void setAntiAffinityGroups(Set<AntiAffinityGroup> antiAffinityGroups)
-
description
public CreateSksNodepoolRequest description(String description)
-
getDescription
@Nullable public String getDescription()
Nodepool description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
publicIpAssignment
public CreateSksNodepoolRequest publicIpAssignment(CreateSksNodepoolRequest.PublicIpAssignmentEnum publicIpAssignment)
-
getPublicIpAssignment
@Nullable public CreateSksNodepoolRequest.PublicIpAssignmentEnum getPublicIpAssignment()
Configures public IP assignment of the Instances with: * IPv4 (`inet4`) addressing only (default); * both IPv4 and IPv6 (`dual`) addressing.- Returns:
- publicIpAssignment
-
setPublicIpAssignment
public void setPublicIpAssignment(CreateSksNodepoolRequest.PublicIpAssignmentEnum publicIpAssignment)
-
labels
public CreateSksNodepoolRequest labels(Map<String,String> labels)
-
putLabelsItem
public CreateSksNodepoolRequest putLabelsItem(String key, String labelsItem)
-
taints
public CreateSksNodepoolRequest taints(Map<String,SksNodepoolTaint> taints)
-
putTaintsItem
public CreateSksNodepoolRequest 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 CreateSksNodepoolRequest securityGroups(Set<SecurityGroup> securityGroups)
-
addSecurityGroupsItem
public CreateSksNodepoolRequest addSecurityGroupsItem(SecurityGroup securityGroupsItem)
-
getSecurityGroups
@Nullable public Set<SecurityGroup> getSecurityGroups()
Nodepool Security Groups- Returns:
- securityGroups
-
setSecurityGroups
public void setSecurityGroups(Set<SecurityGroup> securityGroups)
-
name
public CreateSksNodepoolRequest name(String name)
-
getName
@Nonnull public String getName()
Nodepool name, lowercase only- Returns:
- name
-
setName
public void setName(String name)
-
instanceType
public CreateSksNodepoolRequest instanceType(InstanceType instanceType)
-
getInstanceType
@Nonnull public InstanceType getInstanceType()
Get instanceType- Returns:
- instanceType
-
setInstanceType
public void setInstanceType(InstanceType instanceType)
-
privateNetworks
public CreateSksNodepoolRequest privateNetworks(Set<PrivateNetwork> privateNetworks)
-
addPrivateNetworksItem
public CreateSksNodepoolRequest addPrivateNetworksItem(PrivateNetwork privateNetworksItem)
-
getPrivateNetworks
@Nullable public Set<PrivateNetwork> getPrivateNetworks()
Nodepool Private Networks- Returns:
- privateNetworks
-
setPrivateNetworks
public void setPrivateNetworks(Set<PrivateNetwork> privateNetworks)
-
size
public CreateSksNodepoolRequest size(Long size)
-
getSize
@Nonnull public Long getSize()
Number of instances minimum: 0- Returns:
- size
-
setSize
public void setSize(Long size)
-
kubeletImageGc
public CreateSksNodepoolRequest kubeletImageGc(KubeletImageGc kubeletImageGc)
-
getKubeletImageGc
@Nullable public KubeletImageGc getKubeletImageGc()
Get kubeletImageGc- Returns:
- kubeletImageGc
-
setKubeletImageGc
public void setKubeletImageGc(KubeletImageGc kubeletImageGc)
-
instancePrefix
public CreateSksNodepoolRequest instancePrefix(String instancePrefix)
-
getInstancePrefix
@Nullable public String getInstancePrefix()
Prefix to apply to instances names (default: pool), lowercase only- Returns:
- instancePrefix
-
setInstancePrefix
public void setInstancePrefix(String instancePrefix)
-
deployTarget
public CreateSksNodepoolRequest deployTarget(DeployTarget deployTarget)
-
getDeployTarget
@Nullable public DeployTarget getDeployTarget()
Get deployTarget- Returns:
- deployTarget
-
setDeployTarget
public void setDeployTarget(DeployTarget deployTarget)
-
addons
public CreateSksNodepoolRequest addons(Set<CreateSksNodepoolRequest.AddonsEnum> addons)
-
addAddonsItem
public CreateSksNodepoolRequest addAddonsItem(CreateSksNodepoolRequest.AddonsEnum addonsItem)
-
getAddons
@Nullable public Set<CreateSksNodepoolRequest.AddonsEnum> getAddons()
Nodepool addons- Returns:
- addons
-
setAddons
public void setAddons(Set<CreateSksNodepoolRequest.AddonsEnum> addons)
-
diskSize
public CreateSksNodepoolRequest diskSize(Long diskSize)
-
getDiskSize
@Nonnull public Long getDiskSize()
Nodepool instances disk size in GiB minimum: 20 maximum: 51200- Returns:
- diskSize
-
setDiskSize
public void setDiskSize(Long diskSize)
-
equals
public boolean equals(Object o)
Return true if this create_sks_nodepool_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-