Package org.cdk8s.plus24.k8s
Class LabelSelectorRequirement.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.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.plus24.k8s.LabelSelectorRequirement
LabelSelectorRequirement.Builder, LabelSelectorRequirement.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(LabelSelectorRequirement.Builder builder)
Constructor that initializes the object based on literal property values passed by theLabelSelectorRequirement.Builder
.protected
Jsii$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()
boolean
equals(Object o)
String
getKey()
key is the label key that the selector applies to.String
getOperator()
operator represents a key's relationship to a set of values.List<String>
getValues()
values is an array of string values.int
hashCode()
-
-
-
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:LabelSelectorRequirement
key is the label key that the selector applies to.- Specified by:
getKey
in interfaceLabelSelectorRequirement
-
getOperator
public final String getOperator()
Description copied from interface:LabelSelectorRequirement
operator represents a key's relationship to a set of values.Valid operators are In, NotIn, Exists and DoesNotExist.
- Specified by:
getOperator
in interfaceLabelSelectorRequirement
-
getValues
public final List<String> getValues()
Description copied from interface:LabelSelectorRequirement
values is an 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:
getValues
in interfaceLabelSelectorRequirement
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-