Class NodeSpec.Jsii$Proxy

  • All Implemented Interfaces:
    NodeSpec, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    NodeSpec

    @Stability(Stable)
    @Internal
    public static final class NodeSpec.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements NodeSpec
    An implementation for NodeSpec
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
      • Jsii$Proxy

        protected Jsii$Proxy​(NodeSpec.Builder builder)
        Constructor that initializes the object based on literal property values passed by the NodeSpec.Builder.
    • Method Detail

      • getConfigSource

        public final NodeConfigSource getConfigSource()
        Description copied from interface: NodeSpec
        Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.

        This feature is removed from Kubelets as of 1.24 and will be fully removed in 1.26.

        Specified by:
        getConfigSource in interface NodeSpec
      • getExternalId

        public final String getExternalId()
        Description copied from interface: NodeSpec
        Deprecated.

        Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

        Specified by:
        getExternalId in interface NodeSpec
      • getPodCidr

        public final String getPodCidr()
        Description copied from interface: NodeSpec
        PodCIDR represents the pod IP range assigned to the node.
        Specified by:
        getPodCidr in interface NodeSpec
      • getPodCidRs

        public final List<String> getPodCidRs()
        Description copied from interface: NodeSpec
        podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.

        If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.

        Specified by:
        getPodCidRs in interface NodeSpec
      • getProviderId

        public final String getProviderId()
        Description copied from interface: NodeSpec
        ID of the node assigned by the cloud provider in the format: ://.
        Specified by:
        getProviderId in interface NodeSpec
      • getTaints

        public final List<Taint> getTaints()
        Description copied from interface: NodeSpec
        If specified, the node's taints.
        Specified by:
        getTaints in interface NodeSpec
      • getUnschedulable

        public final Boolean getUnschedulable()
        Description copied from interface: NodeSpec
        Unschedulable controls node schedulability of new pods.

        By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

        Specified by:
        getUnschedulable in interface NodeSpec
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object