Class RoleMapping
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.RoleMapping
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class RoleMapping extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RoleMapping.Builder
Builder forRoleMapping
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RoleMapping>
_DESERIALIZER
Json deserializer forRoleMapping
-
Constructor Summary
Constructors Constructor Description RoleMapping(RoleMapping.Builder builder)
RoleMapping(java.util.function.Function<RoleMapping.Builder,RoleMapping.Builder> fn)
-
Method Summary
Modifier and Type Method Description int
enabled()
Required - API name:enabled
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupRoleMappingDeserializer(DelegatingDeserializer<RoleMapping.Builder> op)
int
size()
Required - API name:size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRoleMapping
-
-
Constructor Details
-
RoleMapping
-
RoleMapping
-
-
Method Details
-
enabled
public int enabled()Required - API name:enabled
-
size
public int size()Required - API name:size
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupRoleMappingDeserializer
-