Class RoleTemplateScript
java.lang.Object
co.elastic.clients.elasticsearch.security.RoleTemplateScript
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RoleTemplateScript>Json deserializer forRoleTemplateScript
- 
Method SummaryModifier and TypeMethodDescriptionfinal Stringid()Theidfor a stored script.final Stringlang()Specifies the language the script is written in.static RoleTemplateScriptoptions()API name:optionsparams()Specifies any named parameters that are passed into the script as variables.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal RoleTemplateInlineQuerysource()API name:sourcetoString()
- 
Field Details- 
_DESERIALIZERJson deserializer forRoleTemplateScript
 
- 
- 
Method Details- 
ofpublic static RoleTemplateScript of(Function<RoleTemplateScript.Builder, ObjectBuilder<RoleTemplateScript>> fn) 
- 
sourceAPI name:source
- 
idTheidfor a stored script.API name: id
- 
paramsSpecifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compile time.API name: params
- 
langSpecifies the language the script is written in.API name: lang
- 
optionsAPI name:options
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupRoleTemplateScriptDeserializerprotected static void setupRoleTemplateScriptDeserializer(ObjectDeserializer<RoleTemplateScript.Builder> op) 
 
-