Package org.cdk8s.plus22
Class LabelSelectorRequirement.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.LabelSelectorRequirement.Jsii$Proxy
-
- All Implemented Interfaces:
LabelSelectorRequirement,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LabelSelectorRequirement
@Stability(Stable) @Internal public static final class LabelSelectorRequirement.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LabelSelectorRequirement
An implementation forLabelSelectorRequirement
-
-
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.plus22.LabelSelectorRequirement
LabelSelectorRequirement.Builder, LabelSelectorRequirement.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LabelSelectorRequirement.Builder builder)Constructor that initializes the object based on literal property values passed by theLabelSelectorRequirement.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)StringgetKey()The label key that the selector applies to.StringgetOperator()Represents a key's relationship to a set of values.List<String>getValues()An array of string values.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(LabelSelectorRequirement.Builder builder)
Constructor that initializes the object based on literal property values passed by theLabelSelectorRequirement.Builder.
-
-
Method Detail
-
getKey
public final String getKey()
Description copied from interface:LabelSelectorRequirementThe label key that the selector applies to.- Specified by:
getKeyin interfaceLabelSelectorRequirement
-
getOperator
public final String getOperator()
Description copied from interface:LabelSelectorRequirementRepresents a key's relationship to a set of values.- Specified by:
getOperatorin interfaceLabelSelectorRequirement
-
getValues
public final List<String> getValues()
Description copied from interface:LabelSelectorRequirementAn array of string values.If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Specified by:
getValuesin interfaceLabelSelectorRequirement
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-