software.amazon.jsii.JsiiObject.InitializationModeSelector.Builder, Selector.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String namespace,
Map<String,String> labels)
Constructor that initializes the object based on literal property values passed by the
Selector.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,String> |
getLabels()
(experimental) The Kubernetes labels that the selector should match.
|
String |
getNamespace()
(experimental) The Kubernetes namespace that the selector should match.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String namespace, Map<String,String> labels)
Selector.Builder.public final String getNamespace()
SelectorYou must specify a namespace for a selector. The selector only matches pods that are created in this namespace, but you can create multiple selectors to target multiple namespaces.
getNamespace in interface Selectorpublic final Map<String,String> getLabels()
SelectorA pod must contain all of the labels that are specified in the selector for it to be considered a match.
Default: - all pods within the namespace will be selected.
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.