Class NodeLabelQuery

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.75.0 (build 63bb957)",
               date="2023-02-21T02:37:35.274Z")
    @Stability(Stable)
    public class NodeLabelQuery
    extends software.amazon.jsii.JsiiObject
    Represents a query that can be performed against nodes with labels.
    • Constructor Detail

      • NodeLabelQuery

        protected NodeLabelQuery​(software.amazon.jsii.JsiiObjectRef objRef)
      • NodeLabelQuery

        protected NodeLabelQuery​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Method Detail

      • doesNotExist

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery doesNotExist​(@NotNull
                                                  String key)
        Requires label `key` to not exist.

        Parameters:
        key - This parameter is required.
      • exists

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery exists​(@NotNull
                                            String key)
        Requires label `key` to exist.

        Parameters:
        key - This parameter is required.
      • gt

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery gt​(@NotNull
                                        String key,
                                        @NotNull
                                        List<String> values)
        Requires value of label `key` to greater than all elements in `values`.

        Parameters:
        key - This parameter is required.
        values - This parameter is required.
      • in

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery in​(@NotNull
                                        String key,
                                        @NotNull
                                        List<String> values)
        Requires value of label `key` to be one of `values`.

        Parameters:
        key - This parameter is required.
        values - This parameter is required.
      • is

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery is​(@NotNull
                                        String key,
                                        @NotNull
                                        String value)
        Requires value of label `key` to equal `value`.

        Parameters:
        key - This parameter is required.
        value - This parameter is required.
      • lt

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery lt​(@NotNull
                                        String key,
                                        @NotNull
                                        List<String> values)
        Requires value of label `key` to less than all elements in `values`.

        Parameters:
        key - This parameter is required.
        values - This parameter is required.
      • notIn

        @Stability(Stable)
        @NotNull
        public static NodeLabelQuery notIn​(@NotNull
                                           String key,
                                           @NotNull
                                           List<String> values)
        Requires value of label `key` to be none of `values`.

        Parameters:
        key - This parameter is required.
        values - This parameter is required.