Class ClusterIngest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cluster.stats.ClusterIngest.Builder
- All Implemented Interfaces:
ObjectBuilder<ClusterIngest>
- Enclosing class:
- ClusterIngest
public static class ClusterIngest.Builder extends ObjectBuilderBase implements ObjectBuilder<ClusterIngest>
Builder for
ClusterIngest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClusterIngestbuild()Builds aClusterIngest.ClusterIngest.BuildernumberOfPipelines(int value)Required - API name:number_of_pipelinesClusterIngest.BuilderprocessorStats(java.lang.String key, ClusterProcessor value)Required - API name:processor_statsClusterIngest.BuilderprocessorStats(java.lang.String key, java.util.function.Function<ClusterProcessor.Builder,ObjectBuilder<ClusterProcessor>> fn)Required - API name:processor_statsClusterIngest.BuilderprocessorStats(java.util.Map<java.lang.String,ClusterProcessor> map)Required - API name:processor_statsMethods 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
-
numberOfPipelines
Required - API name:number_of_pipelines -
processorStats
public final ClusterIngest.Builder processorStats(java.util.Map<java.lang.String,ClusterProcessor> map)Required - API name:processor_statsAdds all entries of
maptoprocessorStats. -
processorStats
Required - API name:processor_statsAdds an entry to
processorStats. -
processorStats
public final ClusterIngest.Builder processorStats(java.lang.String key, java.util.function.Function<ClusterProcessor.Builder,ObjectBuilder<ClusterProcessor>> fn)Required - API name:processor_statsAdds an entry to
processorStatsusing a builder lambda. -
build
Builds aClusterIngest.- Specified by:
buildin interfaceObjectBuilder<ClusterIngest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-