Class Scheduling.Jsii$Proxy

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

    @Stability(Stable)
    @Internal
    public static final class Scheduling.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Scheduling
    An implementation for Scheduling
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(Scheduling.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Scheduling.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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.
    • Method Detail

      • getNodeSelector

        public final Map<String,​String> getNodeSelector()
        Description copied from interface: Scheduling
        nodeSelector lists labels that must be present on nodes that support this RuntimeClass.

        Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.

        Specified by:
        getNodeSelector in interface Scheduling
      • getTolerations

        public final List<Toleration> getTolerations()
        Description copied from interface: Scheduling
        tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
        Specified by:
        getTolerations in interface Scheduling
      • $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