Interface LabelSelectorRequirement

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    LabelSelectorRequirement.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.75.0 (build 63bb957)",
               date="2023-02-20T02:42:01.887Z")
    @Stability(Stable)
    public interface LabelSelectorRequirement
    extends software.amazon.jsii.JsiiSerializable
    A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
    • Method Detail

      • getKey

        @Stability(Stable)
        @NotNull
        String getKey()
        The label key that the selector applies to.
      • getOperator

        @Stability(Stable)
        @NotNull
        String getOperator()
        Represents a key's relationship to a set of values.
      • getValues

        @Stability(Stable)
        @Nullable
        default List<String> getValues()
        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.