Class RollupRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.RollupRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RollupRequest extends RequestBase implements JsonpSerializable
Rollup an index
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRollupRequest.BuilderBuilder forRollupRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RollupRequest>_DESERIALIZERstatic Endpoint<RollupRequest,RollupResponse,ErrorResponse>_ENDPOINTEndpoint "rollup.rollup". -
Method Summary
Modifier and Type Method Description JsonDataconfig()Required - Request body.protected static JsonpDeserializer<RollupRequest>createRollupRequestDeserializer()java.lang.Stringindex()Required - The index to roll upstatic RollupRequestof(java.util.function.Function<RollupRequest.Builder,ObjectBuilder<RollupRequest>> fn)java.lang.StringrollupIndex()Required - The name of the rollup index to createvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
-
_ENDPOINT
Endpoint "rollup.rollup".
-
-
Method Details
-
of
public static RollupRequest of(java.util.function.Function<RollupRequest.Builder,ObjectBuilder<RollupRequest>> fn) -
index
public final java.lang.String index()Required - The index to roll upAPI name:
index -
rollupIndex
public final java.lang.String rollupIndex()Required - The name of the rollup index to createAPI name:
rollup_index -
config
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createRollupRequestDeserializer
-