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 classHint.BuilderBuilder forHint. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Hint>_DESERIALIZERJson 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 Hintof(java.util.function.Function<Hint.Builder,ObjectBuilder<Hint>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHintDeserializer(ObjectDeserializer<Hint.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupHintDeserializer
-