Class SlmPolicy
java.lang.Object
co.elastic.clients.elasticsearch.slm.SlmPolicy
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<SlmPolicy>
Json deserializer forSlmPolicy
-
Method Summary
Modifier and TypeMethodDescriptionfinal SlmConfiguration
config()
API name:config
final String
name()
Required - API name:name
static SlmPolicy
final String
Required - API name:repository
final Retention
API name:retention
final String
schedule()
Required - API name:schedule
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSlmPolicy
-
-
Method Details
-
of
-
config
API name:config
-
name
Required - API name:name
-
repository
Required - API name:repository
-
retention
API name:retention
-
schedule
Required - API name:schedule
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSlmPolicyDeserializer
-