Package org.cdk8s.plus24.k8s
Class LabelSelector.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.LabelSelector.Jsii$Proxy
-
- All Implemented Interfaces:
LabelSelector
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LabelSelector
@Stability(Stable) @Internal public static final class LabelSelector.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LabelSelector
An implementation forLabelSelector
-
-
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.LabelSelector
LabelSelector.Builder, LabelSelector.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(LabelSelector.Builder builder)
Constructor that initializes the object based on literal property values passed by theLabelSelector.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)
List<LabelSelectorRequirement>
getMatchExpressions()
matchExpressions is a list of label selector requirements.Map<String,String>
getMatchLabels()
matchLabels is a map of {key,value} pairs.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(LabelSelector.Builder builder)
Constructor that initializes the object based on literal property values passed by theLabelSelector.Builder
.
-
-
Method Detail
-
getMatchExpressions
public final List<LabelSelectorRequirement> getMatchExpressions()
Description copied from interface:LabelSelector
matchExpressions is a list of label selector requirements.The requirements are ANDed.
- Specified by:
getMatchExpressions
in interfaceLabelSelector
-
getMatchLabels
public final Map<String,String> getMatchLabels()
Description copied from interface:LabelSelector
matchLabels is a map of {key,value} pairs.A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Specified by:
getMatchLabels
in interfaceLabelSelector
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-