Class RollupCapabilitySummary.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RollupCapabilitySummary.Builder>
co.elastic.clients.elasticsearch.rollup.get_rollup_caps.RollupCapabilitySummary.Builder
- All Implemented Interfaces:
WithJson<RollupCapabilitySummary.Builder>
,ObjectBuilder<RollupCapabilitySummary>
- Enclosing class:
- RollupCapabilitySummary
public static class RollupCapabilitySummary.Builder
extends WithJsonObjectBuilderBase<RollupCapabilitySummary.Builder>
implements ObjectBuilder<RollupCapabilitySummary>
Builder for
RollupCapabilitySummary
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRollupCapabilitySummary
.fields
(String key, List<RollupFieldSummary> value) Required - API name:fields
fields
(Map<String, List<RollupFieldSummary>> map) Required - API name:fields
indexPattern
(String value) Required - API name:index_pattern
Required - API name:job_id
rollupIndex
(String value) Required - API name:rollup_index
protected RollupCapabilitySummary.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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
Required - API name:fields
Adds all entries of
map
tofields
. -
fields
Required - API name:fields
Adds an entry to
fields
. -
indexPattern
Required - API name:index_pattern
-
jobId
Required - API name:job_id
-
rollupIndex
Required - API name:rollup_index
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RollupCapabilitySummary.Builder>
-
build
Builds aRollupCapabilitySummary
.- Specified by:
build
in interfaceObjectBuilder<RollupCapabilitySummary>
- Throws:
NullPointerException
- if some of the required fields are null.
-