Class RoleTemplateScript
java.lang.Object
co.elastic.clients.elasticsearch.security.RoleTemplateScript
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RoleTemplateScript>Json deserializer forRoleTemplateScript -
Method Summary
Modifier 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
-
_DESERIALIZER
Json deserializer forRoleTemplateScript
-
-
Method Details
-
of
public static RoleTemplateScript of(Function<RoleTemplateScript.Builder, ObjectBuilder<RoleTemplateScript>> fn) -
source
API name:source -
id
Theidfor a stored script.API name:
id -
params
Specifies 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 -
lang
Specifies the language the script is written in.API name:
lang -
options
API name:options -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRoleTemplateScriptDeserializer
protected static void setupRoleTemplateScriptDeserializer(ObjectDeserializer<RoleTemplateScript.Builder> op)
-