Class V1ConfigMapNodeConfigSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ConfigMapNodeConfigSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ConfigMapNodeConfigSource extends Object
ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration
  • Field Details

  • Constructor Details

    • V1ConfigMapNodeConfigSource

      public V1ConfigMapNodeConfigSource(String kubeletConfigKey, String name, String namespace)
  • Method Details

    • getKubeletConfigKey

      public String getKubeletConfigKey()
      KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
      Returns:
      the kubeletConfigKey property value
    • setKubeletConfigKey

      public void setKubeletConfigKey(String kubeletConfigKey)
      Set the kubeletConfigKey property value
      Parameters:
      kubeletConfigKey - property value to set
    • kubeletConfigKey

      public V1ConfigMapNodeConfigSource kubeletConfigKey(String kubeletConfigKey)
      Set kubeletConfigKey in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapNodeConfigSource for chaining.
    • getName

      public String getName()
      Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
      Parameters:
      name - property value to set
    • name

      public V1ConfigMapNodeConfigSource name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapNodeConfigSource for chaining.
    • getNamespace

      public String getNamespace()
      Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
      Returns:
      the namespace property value
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace property value
      Parameters:
      namespace - property value to set
    • namespace

      public V1ConfigMapNodeConfigSource namespace(String namespace)
      Set namespace in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapNodeConfigSource for chaining.
    • getResourceVersion

      public String getResourceVersion()
      ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
      Returns:
      the resourceVersion property value
    • setResourceVersion

      public void setResourceVersion(String resourceVersion)
      Set the resourceVersion property value
      Parameters:
      resourceVersion - property value to set
    • resourceVersion

      public V1ConfigMapNodeConfigSource resourceVersion(String resourceVersion)
      Set resourceVersion in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapNodeConfigSource for chaining.
    • getUid

      public String getUid()
      UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
      Returns:
      the uid property value
    • setUid

      public void setUid(String uid)
      Set the uid property value
      Parameters:
      uid - property value to set
    • uid

      Set uid in a chainable fashion.
      Returns:
      The same instance of V1ConfigMapNodeConfigSource for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object