Class Hint
java.lang.Object
co.elastic.clients.elasticsearch.security.suggest_user_profiles.Hint
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Hint extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Hint.Builder
Builder forHint
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Hint>
_DESERIALIZER
Json deserializer forHint
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>
labels()
A single key-value pair to match against the labels section of a profile.static Hint
of(java.util.function.Function<Hint.Builder,ObjectBuilder<Hint>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupHintDeserializer(ObjectDeserializer<Hint.Builder> op)
java.lang.String
toString()
java.util.List<java.lang.String>
uids()
A list of Profile UIDs to match against.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHint
-
-
Method Details
-
of
-
uids
public final java.util.List<java.lang.String> uids()A list of Profile UIDs to match against.API name:
uids
-
labels
public final java.util.Map<java.lang.String,java.util.List<java.lang.String>> labels()A single key-value pair to match against the labels section of a profile. A profile is considered matching if it matches at least one of the strings.API name:
labels
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupHintDeserializer
-