Class KubePriorityClassProps.Jsii$Proxy

    • 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

      • getValue

        public final Number getValue()
        Description copied from interface: KubePriorityClassProps
        The value of this priority class.

        This is the actual priority that pods receive when they have the name of this class in their pod spec.

        Specified by:
        getValue in interface KubePriorityClassProps
      • getGlobalDefault

        public final Boolean getGlobalDefault()
        Description copied from interface: KubePriorityClassProps
        globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.

        Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.

        Specified by:
        getGlobalDefault in interface KubePriorityClassProps
      • getPreemptionPolicy

        public final String getPreemptionPolicy()
        Description copied from interface: KubePriorityClassProps
        PreemptionPolicy is the Policy for preempting pods with lower priority.

        One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.

        Default: PreemptLowerPriority if unset.

        Specified by:
        getPreemptionPolicy in interface KubePriorityClassProps
      • $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