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
  • Field Details

  • Constructor Details

  • Method Details

    • antiAffinityGroups

      public SksNodepool antiAffinityGroups(Set<AntiAffinityGroupRef> antiAffinityGroups)
    • addAntiAffinityGroupsItem

      public SksNodepool addAntiAffinityGroupsItem(AntiAffinityGroupRef antiAffinityGroupsItem)
    • getAntiAffinityGroups

      @Nullable public Set<AntiAffinityGroupRef> getAntiAffinityGroups()
      Nodepool Anti-affinity Groups
      Returns:
      antiAffinityGroups
    • setAntiAffinityGroups

      public void setAntiAffinityGroups(Set<AntiAffinityGroupRef> 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)
    • getLabels

      @Nullable public Map<String,String> getLabels()
      Get labels
      Returns:
      labels
    • setLabels

      public void setLabels(Map<String,String> labels)
    • 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)
    • nvidiaDraDriver

      public SksNodepool nvidiaDraDriver(Boolean nvidiaDraDriver)
    • getNvidiaDraDriver

      @Nullable public Boolean getNvidiaDraDriver()
      Expose the GPUs with the NVIDIA DRA driver instead of the NVIDIA device plugin. Requires a GPU instance type and Kubernetes 1.34 or greater.
      Returns:
      nvidiaDraDriver
    • setNvidiaDraDriver

      public void setNvidiaDraDriver(Boolean nvidiaDraDriver)
    • securityGroups

      public SksNodepool securityGroups(Set<SecurityGroupRef> securityGroups)
    • addSecurityGroupsItem

      public SksNodepool addSecurityGroupsItem(SecurityGroupRef securityGroupsItem)
    • getSecurityGroups

      @Nullable public Set<SecurityGroupRef> getSecurityGroups()
      Nodepool Security Groups
      Returns:
      securityGroups
    • setSecurityGroups

      public void setSecurityGroups(Set<SecurityGroupRef> 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(InstanceTypeRef instanceType)
    • getInstanceType

      @Nullable public InstanceTypeRef getInstanceType()
      Get instanceType
      Returns:
      instanceType
    • setInstanceType

      public void setInstanceType(InstanceTypeRef instanceType)
    • privateNetworks

      public SksNodepool privateNetworks(Set<PrivateNetworkRef> privateNetworks)
    • addPrivateNetworksItem

      public SksNodepool addPrivateNetworksItem(PrivateNetworkRef privateNetworksItem)
    • getPrivateNetworks

      @Nullable public Set<PrivateNetworkRef> getPrivateNetworks()
      Nodepool Private Networks
      Returns:
      privateNetworks
    • setPrivateNetworks

      public void setPrivateNetworks(Set<PrivateNetworkRef> privateNetworks)
    • template

      public SksNodepool template(TemplateRef template)
    • getTemplate

      @Nullable public TemplateRef getTemplate()
      Get template
      Returns:
      template
    • setTemplate

      public void setTemplate(TemplateRef 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(InstancePoolRef instancePool)
    • getInstancePool

      @Nullable public InstancePoolRef getInstancePool()
      Get instancePool
      Returns:
      instancePool
    • setInstancePool

      public void setInstancePool(InstancePoolRef 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(DeployTargetRef deployTarget)
    • getDeployTarget

      @Nullable public DeployTargetRef getDeployTarget()
      Get deployTarget
      Returns:
      deployTarget
    • setDeployTarget

      public void setDeployTarget(DeployTargetRef deployTarget)
    • kubeletMaxPods

      public SksNodepool kubeletMaxPods(Long kubeletMaxPods)
    • getKubeletMaxPods

      @Nullable public Long getKubeletMaxPods()
      Maximum number of pods per node. Set to use a value other than the kubelet default. minimum: 1 maximum: 65535
      Returns:
      kubeletMaxPods
    • getKubeletMaxPods_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getKubeletMaxPods_JsonNullable()
    • setKubeletMaxPods_JsonNullable

      public void setKubeletMaxPods_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> kubeletMaxPods)
    • setKubeletMaxPods

      public void setKubeletMaxPods(Long kubeletMaxPods)
    • 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
    • cpuManagerConfig

      public SksNodepool cpuManagerConfig(CpuManagerConfig cpuManagerConfig)
    • getCpuManagerConfig

      @Nullable public CpuManagerConfig getCpuManagerConfig()
      Get cpuManagerConfig
      Returns:
      cpuManagerConfig
    • setCpuManagerConfig

      public void setCpuManagerConfig(CpuManagerConfig cpuManagerConfig)
    • getTemplateSelection

      @Nullable public SksNodepool.TemplateSelectionEnum getTemplateSelection()
      Nodepool template selection: * `auto`: the latest template of the Nodepool Kubernetes version and variant; * `pinned`: the template set at creation or with `update-sks-nodepool`.
      Returns:
      templateSelection
    • 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
    • nvidiaMigProfiles

      public SksNodepool nvidiaMigProfiles(NvidiaMigProfiles nvidiaMigProfiles)
    • getNvidiaMigProfiles

      @Nullable public NvidiaMigProfiles getNvidiaMigProfiles()
      Get nvidiaMigProfiles
      Returns:
      nvidiaMigProfiles
    • setNvidiaMigProfiles

      public void setNvidiaMigProfiles(NvidiaMigProfiles nvidiaMigProfiles)
    • 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.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string