Class RoleDescriptor
java.lang.Object
co.elastic.clients.elasticsearch.security.create_api_key.RoleDescriptor
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RoleDescriptor extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoleDescriptor.BuilderBuilder forRoleDescriptor. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RoleDescriptor>_DESERIALIZERJson deserializer forRoleDescriptor -
Method Summary
Modifier and Type Method Description java.util.List<ApplicationPrivileges>applications()API name:applicationsjava.util.List<java.lang.String>cluster()Required - API name:clusterjava.util.List<IndexPrivileges>index()Required - API name:indexstatic RoleDescriptorof(java.util.function.Function<RoleDescriptor.Builder,ObjectBuilder<RoleDescriptor>> 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 voidsetupRoleDescriptorDeserializer(ObjectDeserializer<RoleDescriptor.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRoleDescriptor
-
-
Method Details
-
of
public static RoleDescriptor of(java.util.function.Function<RoleDescriptor.Builder,ObjectBuilder<RoleDescriptor>> fn) -
cluster
public final java.util.List<java.lang.String> cluster()Required - API name:cluster -
index
Required - API name:index -
applications
API name:applications -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupRoleDescriptorDeserializer
protected static void setupRoleDescriptorDeserializer(ObjectDeserializer<RoleDescriptor.Builder> op)
-