Class V1ConfigMapNodeConfigSource

java.lang.Object
io.kubernetes.client.openapi.models.V1ConfigMapNodeConfigSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") 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()
  • Method Details

    • kubeletConfigKey

      public V1ConfigMapNodeConfigSource kubeletConfigKey(String kubeletConfigKey)
    • 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:
      kubeletConfigKey
    • setKubeletConfigKey

      public void setKubeletConfigKey(String kubeletConfigKey)
    • name

      public V1ConfigMapNodeConfigSource name(String name)
    • getName

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

      public void setName(String name)
    • namespace

      public V1ConfigMapNodeConfigSource namespace(String namespace)
    • getNamespace

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

      public void setNamespace(String namespace)
    • resourceVersion

      public V1ConfigMapNodeConfigSource resourceVersion(String resourceVersion)
    • getResourceVersion

      @Nullable 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:
      resourceVersion
    • setResourceVersion

      public void setResourceVersion(String resourceVersion)
    • uid

    • getUid

      @Nullable 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:
      uid
    • setUid

      public void setUid(String uid)
    • 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