Class JobTimingStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.JobTimingStats.Builder
- All Implemented Interfaces:
ObjectBuilder<JobTimingStats>
- Enclosing class:
- JobTimingStats
public static class JobTimingStats.Builder extends ObjectBuilderBase implements ObjectBuilder<JobTimingStats>
Builder for
JobTimingStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description JobTimingStats.BuilderaverageBucketProcessingTimeMs(java.lang.Double value)API name:average_bucket_processing_time_msJobTimingStats.BuilderbucketCount(long value)Required - API name:bucket_countJobTimingStatsbuild()Builds aJobTimingStats.JobTimingStats.BuilderexponentialAverageBucketProcessingTimeMs(java.lang.Double value)API name:exponential_average_bucket_processing_time_msJobTimingStats.BuilderexponentialAverageBucketProcessingTimePerHourMs(double value)Required - API name:exponential_average_bucket_processing_time_per_hour_msJobTimingStats.BuilderjobId(java.lang.String value)Required - API name:job_idJobTimingStats.BuildermaximumBucketProcessingTimeMs(java.lang.Double value)API name:maximum_bucket_processing_time_msJobTimingStats.BuilderminimumBucketProcessingTimeMs(java.lang.Double value)API name:minimum_bucket_processing_time_msJobTimingStats.BuildertotalBucketProcessingTimeMs(double value)Required - API name:total_bucket_processing_time_msMethods 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
-
averageBucketProcessingTimeMs
public final JobTimingStats.Builder averageBucketProcessingTimeMs(@Nullable java.lang.Double value)API name:average_bucket_processing_time_ms -
bucketCount
Required - API name:bucket_count -
exponentialAverageBucketProcessingTimeMs
public final JobTimingStats.Builder exponentialAverageBucketProcessingTimeMs(@Nullable java.lang.Double value)API name:exponential_average_bucket_processing_time_ms -
exponentialAverageBucketProcessingTimePerHourMs
Required - API name:exponential_average_bucket_processing_time_per_hour_ms -
jobId
Required - API name:job_id -
totalBucketProcessingTimeMs
Required - API name:total_bucket_processing_time_ms -
maximumBucketProcessingTimeMs
public final JobTimingStats.Builder maximumBucketProcessingTimeMs(@Nullable java.lang.Double value)API name:maximum_bucket_processing_time_ms -
minimumBucketProcessingTimeMs
public final JobTimingStats.Builder minimumBucketProcessingTimeMs(@Nullable java.lang.Double value)API name:minimum_bucket_processing_time_ms -
build
Builds aJobTimingStats.- Specified by:
buildin interfaceObjectBuilder<JobTimingStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-