Class GetRollupCapsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetRollupCapsRequest.Builder>
co.elastic.clients.elasticsearch.rollup.GetRollupCapsRequest.Builder
- All Implemented Interfaces:
WithJson<GetRollupCapsRequest.Builder>
,ObjectBuilder<GetRollupCapsRequest>
- Enclosing class:
- GetRollupCapsRequest
public static class GetRollupCapsRequest.Builder extends RequestBase.AbstractBuilder<GetRollupCapsRequest.Builder> implements ObjectBuilder<GetRollupCapsRequest>
Builder for
GetRollupCapsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetRollupCapsRequest
build()
Builds aGetRollupCapsRequest
.GetRollupCapsRequest.Builder
id(java.lang.String value)
The ID of the index to check rollup capabilities on, or left blank for all jobsprotected GetRollupCapsRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
The ID of the index to check rollup capabilities on, or left blank for all jobsAPI name:
id
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<GetRollupCapsRequest.Builder>
-
build
Builds aGetRollupCapsRequest
.- Specified by:
build
in interfaceObjectBuilder<GetRollupCapsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-