Class GetRollupIndexCapsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetRollupIndexCapsRequest.Builder>
co.elastic.clients.elasticsearch.rollup.GetRollupIndexCapsRequest.Builder
- All Implemented Interfaces:
WithJson<GetRollupIndexCapsRequest.Builder>,ObjectBuilder<GetRollupIndexCapsRequest>
- Enclosing class:
- GetRollupIndexCapsRequest
public static class GetRollupIndexCapsRequest.Builder extends RequestBase.AbstractBuilder<GetRollupIndexCapsRequest.Builder> implements ObjectBuilder<GetRollupIndexCapsRequest>
Builder for
GetRollupIndexCapsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetRollupIndexCapsRequestbuild()Builds aGetRollupIndexCapsRequest.GetRollupIndexCapsRequest.Builderindex(java.lang.String value, java.lang.String... values)Required - The rollup index or index pattern to obtain rollup capabilities from.GetRollupIndexCapsRequest.Builderindex(java.util.List<java.lang.String> list)Required - The rollup index or index pattern to obtain rollup capabilities from.protected GetRollupIndexCapsRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
Required - The rollup index or index pattern to obtain rollup capabilities from.API name:
indexAdds all elements of
listtoindex. -
index
public final GetRollupIndexCapsRequest.Builder index(java.lang.String value, java.lang.String... values)Required - The rollup index or index pattern to obtain rollup capabilities from.API name:
indexAdds one or more values to
index. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetRollupIndexCapsRequest.Builder>
-
build
Builds aGetRollupIndexCapsRequest.- Specified by:
buildin interfaceObjectBuilder<GetRollupIndexCapsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-