Class AuthinfoResponse
java.lang.Object
org.opensearch.client.opensearch.security.AuthinfoResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AuthinfoResponse.Builder,AuthinfoResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AuthinfoResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AuthinfoResponse.Builder,AuthinfoResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AuthinfoResponse> Json deserializer forAuthinfoResponse -
Method Summary
Modifier and TypeMethodDescriptionThe backend roles associated with the user.static AuthinfoResponse.Builderbuilder()The name of the attributes associated with the user.booleaninthashCode()static AuthinfoResponsefinal StringThe number of peer certificates related to the user.final StringThe user's principal.final StringThe IP address of remote user.roles()The roles associated with the user.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe size of the user's backend roles in bytes.final StringThe size of the user's custom attributes in bytes.final StringThe size of user contained in memory.final StringThe logout URL.tenants()The tenants the user has access to withread-writeorread-onlyaccess indicators.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringuser()A user object as a string.final StringuserName()The username.final StringThe name of the tenant the user would like to switch to.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 forAuthinfoResponse
-
-
Method Details
-
of
public static AuthinfoResponse of(Function<AuthinfoResponse.Builder, ObjectBuilder<AuthinfoResponse>> fn) -
backendRoles
The backend roles associated with the user.API name:
backend_roles -
customAttributeNames
The name of the attributes associated with the user.API name:
custom_attribute_names -
peerCertificates
The number of peer certificates related to the user.API name:
peer_certificates -
principal
The user's principal.API name:
principal -
remoteAddress
The IP address of remote user.API name:
remote_address -
roles
The roles associated with the user.API name:
roles -
sizeOfBackendroles
The size of the user's backend roles in bytes.API name:
size_of_backendroles -
sizeOfCustomAttributes
The size of the user's custom attributes in bytes.API name:
size_of_custom_attributes -
sizeOfUser
The size of user contained in memory.API name:
size_of_user -
ssoLogoutUrl
The logout URL.API name:
sso_logout_url -
tenants
The tenants the user has access to withread-writeorread-onlyaccess indicators.API name:
tenants -
user
A user object as a string.API name:
user -
userName
The username.API name:
user_name -
userRequestedTenant
The name of the tenant the user would like to switch to.API name:
user_requested_tenant -
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<AuthinfoResponse.Builder,AuthinfoResponse> - Returns:
- a new builder instance.
-
builder
-
setupAuthinfoResponseDeserializer
protected static void setupAuthinfoResponseDeserializer(ObjectDeserializer<AuthinfoResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-