Class AuthinfoResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<AuthinfoResponse.Builder,,AuthinfoResponse> MutableBuilder<AuthinfoResponse.Builder,,AuthinfoResponse> ObjectBuilder<AuthinfoResponse>
- Enclosing class:
AuthinfoResponse
AuthinfoResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AuthinfoResponse.BuilderbackendRoles(String value, String... values) The backend roles associated with the user.final AuthinfoResponse.BuilderbackendRoles(List<String> list) The backend roles associated with the user.build()Builds aAuthinfoResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.final AuthinfoResponse.BuildercustomAttributeNames(String value, String... values) The name of the attributes associated with the user.final AuthinfoResponse.BuildercustomAttributeNames(List<String> list) The name of the attributes associated with the user.final AuthinfoResponse.BuilderpeerCertificates(String value) The number of peer certificates related to the user.final AuthinfoResponse.BuilderThe user's principal.final AuthinfoResponse.BuilderremoteAddress(String value) The IP address of remote user.final AuthinfoResponse.BuilderThe roles associated with the user.final AuthinfoResponse.BuilderThe roles associated with the user.final AuthinfoResponse.BuildersizeOfBackendroles(String value) The size of the user's backend roles in bytes.final AuthinfoResponse.BuildersizeOfCustomAttributes(String value) The size of the user's custom attributes in bytes.final AuthinfoResponse.BuildersizeOfUser(String value) The size of user contained in memory.final AuthinfoResponse.BuilderssoLogoutUrl(String value) The logout URL.final AuthinfoResponse.BuilderThe tenants the user has access to withread-writeorread-onlyaccess indicators.final AuthinfoResponse.BuilderThe tenants the user has access to withread-writeorread-onlyaccess indicators.final AuthinfoResponse.BuilderA user object as a string.final AuthinfoResponse.BuilderThe username.final AuthinfoResponse.BuilderuserRequestedTenant(String value) The name of the tenant the user would like to switch to.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<AuthinfoResponse.Builder,AuthinfoResponse> - Returns:
- a new builder instance.
-
backendRoles
The backend roles associated with the user.API name:
backend_rolesAdds all elements of
listtobackendRoles. -
backendRoles
The backend roles associated with the user.API name:
backend_rolesAdds one or more values to
backendRoles. -
customAttributeNames
The name of the attributes associated with the user.API name:
custom_attribute_namesAdds all elements of
listtocustomAttributeNames. -
customAttributeNames
The name of the attributes associated with the user.API name:
custom_attribute_namesAdds one or more values to
customAttributeNames. -
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:
rolesAdds all elements of
listtoroles. -
roles
The roles associated with the user.API name:
rolesAdds one or more values to
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:
tenantsAdds all elements of
maptotenants. -
tenants
The tenants the user has access to withread-writeorread-onlyaccess indicators.API name:
tenantsAdds an entry to
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 -
build
Builds aAuthinfoResponse.- Specified by:
buildin interfaceObjectBuilder<AuthinfoResponse>- Throws:
NullPointerException- if some of the required fields are null.
-