Class RoleTemplate
java.lang.Object
co.elastic.clients.elasticsearch.security.get_role.RoleTemplate
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RoleTemplate extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoleTemplate.BuilderBuilder forRoleTemplate. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RoleTemplate>_DESERIALIZERJson deserializer forRoleTemplate -
Method Summary
Modifier and Type Method Description TemplateFormatformat()API name:formatstatic RoleTemplateof(java.util.function.Function<RoleTemplate.Builder,ObjectBuilder<RoleTemplate>> 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 voidsetupRoleTemplateDeserializer(ObjectDeserializer<RoleTemplate.Builder> op)Scripttemplate()Required - API name:templatejava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRoleTemplate
-
-
Method Details
-
of
public static RoleTemplate of(java.util.function.Function<RoleTemplate.Builder,ObjectBuilder<RoleTemplate>> fn) -
format
API name:format -
template
Required - API name:template -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupRoleTemplateDeserializer
-