Class ShrinkConfiguration
java.lang.Object
co.elastic.clients.elasticsearch.ilm.ShrinkConfiguration
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShrinkConfiguration>Json deserializer forShrinkConfiguration -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - API name:number_of_shardsstatic ShrinkConfigurationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forShrinkConfiguration
-
-
Method Details
-
of
public static ShrinkConfiguration of(Function<ShrinkConfiguration.Builder, ObjectBuilder<ShrinkConfiguration>> fn) -
numberOfShards
public final int numberOfShards()Required - API name:number_of_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShrinkConfigurationDeserializer
protected static void setupShrinkConfigurationDeserializer(ObjectDeserializer<ShrinkConfiguration.Builder> op)
-