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