Class Role
java.lang.Object
org.opensearch.client.opensearch.security.Role
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Role.Builder,Role>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Role
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Role.Builder,Role>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Role.Builderbuilder()API name:cluster_permissionsfinal StringAPI name:descriptionbooleaninthashCode()final Booleanhidden()API name:hiddenfinal List<IndexPermission> API name:index_permissionsstatic Roleof(Function<Role.Builder, ObjectBuilder<Role>> fn) final 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:staticfinal List<TenantPermission> API name:tenant_permissionsCreate 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 forRole
-
-
Method Details
-
of
-
clusterPermissions
API name:cluster_permissions -
description
API name:description -
indexPermissions
API name:index_permissions -
reserved
API name:reserved -
static_
API name:static -
tenantPermissions
API name:tenant_permissions -
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<Role.Builder,Role> - Returns:
- a new builder instance.
-
builder
-
setupRoleDeserializer
-
hashCode
public int hashCode() -
equals
-