Class Selector.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.Selector.Jsii$Proxy
All Implemented Interfaces:
Selector, software.amazon.jsii.JsiiSerializable
Enclosing interface:
Selector

@Stability(Stable) @Internal public static final class Selector.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements Selector
An implementation for Selector
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.Selector

    Selector.Builder, Selector.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the Selector.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    The Kubernetes labels that the selector should match.
    final String
    The Kubernetes namespace that the selector should match.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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(Selector.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Selector.Builder.
  • Method Details

    • getNamespace

      public final String getNamespace()
      Description copied from interface: Selector
      The Kubernetes namespace that the selector should match.

      You 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.

      Specified by:
      getNamespace in interface Selector
    • getLabels

      public final Map<String,String> getLabels()
      Description copied from interface: Selector
      The Kubernetes labels that the selector should match.

      A 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.

      Specified by:
      getLabels in interface Selector
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object