Class User
java.lang.Object
org.opensearch.client.opensearch.security.User
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<User.Builder,User>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class User
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<User.Builder,User>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionAPI name:attributesAPI name:backend_rolesstatic User.Builderbuilder()final StringAPI name:descriptionbooleanfinal Stringhash()API name:hashinthashCode()final Booleanhidden()API name:hiddenstatic Userof(Function<User.Builder, ObjectBuilder<User>> fn) API name:opendistro_security_rolesfinal Stringpassword()API name:passwordfinal Booleanreserved()API name:reservedvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Booleanstatic_()API name:staticCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forUser
-
-
Method Details
-
of
-
attributes
API name:attributes -
backendRoles
API name:backend_roles -
description
API name:description -
hash
API name:hash -
opendistroSecurityRoles
API name:opendistro_security_roles -
password
API name:password -
reserved
API name:reserved -
static_
API name:static -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<User.Builder,User> - Returns:
- a new builder instance.
-
builder
-
setupUserDeserializer
-
hashCode
public int hashCode() -
equals
-