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 class
RollupRequest.Builder
Builder 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>
_DESERIALIZER
static Endpoint<RollupRequest,RollupResponse,ErrorResponse>
_ENDPOINT
Endpoint "rollup.rollup
". -
Method Summary
Modifier and Type Method Description JsonData
config()
Required - Request body.protected static JsonpDeserializer<RollupRequest>
createRollupRequestDeserializer()
java.lang.String
index()
Required - The index to roll upstatic RollupRequest
of(java.util.function.Function<RollupRequest.Builder,ObjectBuilder<RollupRequest>> fn)
java.lang.String
rollupIndex()
Required - The name of the rollup index to createvoid
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this value to JSON.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods 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:
serialize
in interfaceJsonpSerializable
-
createRollupRequestDeserializer
-