Package org.cdk8s.plus25.k8s
Class KubePriorityClassProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.KubePriorityClassProps.Jsii$Proxy
-
- All Implemented Interfaces:
KubePriorityClassProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- KubePriorityClassProps
@Stability(Stable) @Internal public static final class KubePriorityClassProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KubePriorityClassProps
An implementation forKubePriorityClassProps
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.KubePriorityClassProps
KubePriorityClassProps.Builder, KubePriorityClassProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(KubePriorityClassProps.Builder builder)Constructor that initializes the object based on literal property values passed by theKubePriorityClassProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetDescription()description is an arbitrary string that usually provides guidelines on when this priority class should be used.BooleangetGlobalDefault()globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.ObjectMetagetMetadata()Standard object's metadata.StringgetPreemptionPolicy()PreemptionPolicy is the Policy for preempting pods with lower priority.NumbergetValue()The value of this priority class.inthashCode()
-
-
-
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(KubePriorityClassProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theKubePriorityClassProps.Builder.
-
-
Method Detail
-
getValue
public final Number getValue()
Description copied from interface:KubePriorityClassPropsThe 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:
getValuein interfaceKubePriorityClassProps
-
getDescription
public final String getDescription()
Description copied from interface:KubePriorityClassPropsdescription is an arbitrary string that usually provides guidelines on when this priority class should be used.- Specified by:
getDescriptionin interfaceKubePriorityClassProps
-
getGlobalDefault
public final Boolean getGlobalDefault()
Description copied from interface:KubePriorityClassPropsglobalDefault 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 theirglobalDefaultfield set to true, the smallest value of such global default PriorityClasses will be used as the default priority.- Specified by:
getGlobalDefaultin interfaceKubePriorityClassProps
-
getMetadata
public final ObjectMeta getMetadata()
Description copied from interface:KubePriorityClassPropsStandard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Specified by:
getMetadatain interfaceKubePriorityClassProps
-
getPreemptionPolicy
public final String getPreemptionPolicy()
Description copied from interface:KubePriorityClassPropsPreemptionPolicy is the Policy for preempting pods with lower priority.One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
Default: PreemptLowerPriority if unset.
- Specified by:
getPreemptionPolicyin interfaceKubePriorityClassProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-