Class DatafeedsRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DatafeedsRecord.Builder>
co.elastic.clients.elasticsearch.cat.ml_datafeeds.DatafeedsRecord.Builder
- All Implemented Interfaces:
WithJson<DatafeedsRecord.Builder>,ObjectBuilder<DatafeedsRecord>
- Enclosing class:
- DatafeedsRecord
public static class DatafeedsRecord.Builder
extends WithJsonObjectBuilderBase<DatafeedsRecord.Builder>
implements ObjectBuilder<DatafeedsRecord>
Builder for
DatafeedsRecord.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DatafeedsRecord.BuilderassignmentExplanation(String value) For started datafeeds only, contains messages relating to the selection of a node.final DatafeedsRecord.BuilderbucketsCount(String value) The number of buckets processed.build()Builds aDatafeedsRecord.final DatafeedsRecord.BuilderThe datafeed identifier.final DatafeedsRecord.BuildernodeAddress(String value) The network address of the assigned node.final DatafeedsRecord.BuildernodeEphemeralId(String value) The ephemeral identifier of the assigned node.final DatafeedsRecord.BuilderThe unique identifier of the assigned node.final DatafeedsRecord.BuilderThe name of the assigned node.final DatafeedsRecord.BuildersearchBucketAvg(String value) The average search time per bucket, in milliseconds.final DatafeedsRecord.BuildersearchCount(String value) The number of searches run by the datafeed.final DatafeedsRecord.BuildersearchExpAvgHour(String value) The exponential average search time per hour, in milliseconds.final DatafeedsRecord.BuildersearchTime(String value) The total time the datafeed spent searching, in milliseconds.protected DatafeedsRecord.Builderself()final DatafeedsRecord.Builderstate(DatafeedState value) The status of the datafeed.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
The datafeed identifier.API name:
id -
state
The status of the datafeed.API name:
state -
assignmentExplanation
For started datafeeds only, contains messages relating to the selection of a node.API name:
assignment_explanation -
bucketsCount
The number of buckets processed.API name:
buckets.count -
searchCount
The number of searches run by the datafeed.API name:
search.count -
searchTime
The total time the datafeed spent searching, in milliseconds.API name:
search.time -
searchBucketAvg
The average search time per bucket, in milliseconds.API name:
search.bucket_avg -
searchExpAvgHour
The exponential average search time per hour, in milliseconds.API name:
search.exp_avg_hour -
nodeId
The unique identifier of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.id -
nodeName
The name of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.name -
nodeEphemeralId
The ephemeral identifier of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.ephemeral_id -
nodeAddress
The network address of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.address -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DatafeedsRecord.Builder>
-
build
Builds aDatafeedsRecord.- Specified by:
buildin interfaceObjectBuilder<DatafeedsRecord>- Throws:
NullPointerException- if some of the required fields are null.
-