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 String
id()
Theid
for a stored script.final String
lang()
Specifies the language the script is written in.static RoleTemplateScript
options()
API name:options
params()
Specifies any named parameters that are passed into the script as variables.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
final RoleTemplateInlineQuery
source()
API name:source
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRoleTemplateScript
-
-
Method Details
-
of
public static RoleTemplateScript of(Function<RoleTemplateScript.Builder, ObjectBuilder<RoleTemplateScript>> fn) -
source
API name:source
-
id
Theid
for 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRoleTemplateScriptDeserializer
protected static void setupRoleTemplateScriptDeserializer(ObjectDeserializer<RoleTemplateScript.Builder> op)
-