Class JobsRecord.Builder

All Implemented Interfaces:
WithJson<JobsRecord.Builder>, ObjectBuilder<JobsRecord>
Enclosing class:
JobsRecord

public static class JobsRecord.Builder extends WithJsonObjectBuilderBase<JobsRecord.Builder> implements ObjectBuilder<JobsRecord>
Builder for JobsRecord.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • id

      public final JobsRecord.Builder id(@Nullable String value)
      the job_id

      API name: id

    • state

      public final JobsRecord.Builder state(@Nullable JobState value)
      the job state

      API name: state

    • openedTime

      public final JobsRecord.Builder openedTime(@Nullable String value)
      the amount of time the job has been opened

      API name: opened_time

    • assignmentExplanation

      public final JobsRecord.Builder assignmentExplanation(@Nullable String value)
      why the job is or is not assigned to a node

      API name: assignment_explanation

    • dataProcessedRecords

      public final JobsRecord.Builder dataProcessedRecords(@Nullable String value)
      number of processed records

      API name: data.processed_records

    • dataProcessedFields

      public final JobsRecord.Builder dataProcessedFields(@Nullable String value)
      number of processed fields

      API name: data.processed_fields

    • dataInputBytes

      public final JobsRecord.Builder dataInputBytes(@Nullable String value)
      total input bytes

      API name: data.input_bytes

    • dataInputRecords

      public final JobsRecord.Builder dataInputRecords(@Nullable String value)
      total record count

      API name: data.input_records

    • dataInputFields

      public final JobsRecord.Builder dataInputFields(@Nullable String value)
      total field count

      API name: data.input_fields

    • dataInvalidDates

      public final JobsRecord.Builder dataInvalidDates(@Nullable String value)
      number of records with invalid dates

      API name: data.invalid_dates

    • dataMissingFields

      public final JobsRecord.Builder dataMissingFields(@Nullable String value)
      number of records with missing fields

      API name: data.missing_fields

    • dataOutOfOrderTimestamps

      public final JobsRecord.Builder dataOutOfOrderTimestamps(@Nullable String value)
      number of records handled out of order

      API name: data.out_of_order_timestamps

    • dataEmptyBuckets

      public final JobsRecord.Builder dataEmptyBuckets(@Nullable String value)
      number of empty buckets

      API name: data.empty_buckets

    • dataSparseBuckets

      public final JobsRecord.Builder dataSparseBuckets(@Nullable String value)
      number of sparse buckets

      API name: data.sparse_buckets

    • dataBuckets

      public final JobsRecord.Builder dataBuckets(@Nullable String value)
      total bucket count

      API name: data.buckets

    • dataEarliestRecord

      public final JobsRecord.Builder dataEarliestRecord(@Nullable String value)
      earliest record time

      API name: data.earliest_record

    • dataLatestRecord

      public final JobsRecord.Builder dataLatestRecord(@Nullable String value)
      latest record time

      API name: data.latest_record

    • dataLast

      public final JobsRecord.Builder dataLast(@Nullable String value)
      last time data was seen

      API name: data.last

    • dataLastEmptyBucket

      public final JobsRecord.Builder dataLastEmptyBucket(@Nullable String value)
      last time an empty bucket occurred

      API name: data.last_empty_bucket

    • dataLastSparseBucket

      public final JobsRecord.Builder dataLastSparseBucket(@Nullable String value)
      last time a sparse bucket occurred

      API name: data.last_sparse_bucket

    • modelBytes

      public final JobsRecord.Builder modelBytes(@Nullable String value)
      model size

      API name: model.bytes

    • modelMemoryStatus

      public final JobsRecord.Builder modelMemoryStatus(@Nullable MemoryStatus value)
      current memory status

      API name: model.memory_status

    • modelBytesExceeded

      public final JobsRecord.Builder modelBytesExceeded(@Nullable String value)
      how much the model has exceeded the limit

      API name: model.bytes_exceeded

    • modelMemoryLimit

      public final JobsRecord.Builder modelMemoryLimit(@Nullable String value)
      model memory limit

      API name: model.memory_limit

    • modelByFields

      public final JobsRecord.Builder modelByFields(@Nullable String value)
      count of 'by' fields

      API name: model.by_fields

    • modelOverFields

      public final JobsRecord.Builder modelOverFields(@Nullable String value)
      count of 'over' fields

      API name: model.over_fields

    • modelPartitionFields

      public final JobsRecord.Builder modelPartitionFields(@Nullable String value)
      count of 'partition' fields

      API name: model.partition_fields

    • modelBucketAllocationFailures

      public final JobsRecord.Builder modelBucketAllocationFailures(@Nullable String value)
      number of bucket allocation failures

      API name: model.bucket_allocation_failures

    • modelCategorizationStatus

      public final JobsRecord.Builder modelCategorizationStatus(@Nullable CategorizationStatus value)
      current categorization status

      API name: model.categorization_status

    • modelCategorizedDocCount

      public final JobsRecord.Builder modelCategorizedDocCount(@Nullable String value)
      count of categorized documents

      API name: model.categorized_doc_count

    • modelTotalCategoryCount

      public final JobsRecord.Builder modelTotalCategoryCount(@Nullable String value)
      count of categories

      API name: model.total_category_count

    • modelFrequentCategoryCount

      public final JobsRecord.Builder modelFrequentCategoryCount(@Nullable String value)
      count of frequent categories

      API name: model.frequent_category_count

    • modelRareCategoryCount

      public final JobsRecord.Builder modelRareCategoryCount(@Nullable String value)
      count of rare categories

      API name: model.rare_category_count

    • modelDeadCategoryCount

      public final JobsRecord.Builder modelDeadCategoryCount(@Nullable String value)
      count of dead categories

      API name: model.dead_category_count

    • modelFailedCategoryCount

      public final JobsRecord.Builder modelFailedCategoryCount(@Nullable String value)
      count of failed categories

      API name: model.failed_category_count

    • modelLogTime

      public final JobsRecord.Builder modelLogTime(@Nullable String value)
      when the model stats were gathered

      API name: model.log_time

    • modelTimestamp

      public final JobsRecord.Builder modelTimestamp(@Nullable String value)
      the time of the last record when the model stats were gathered

      API name: model.timestamp

    • forecastsTotal

      public final JobsRecord.Builder forecastsTotal(@Nullable String value)
      total number of forecasts

      API name: forecasts.total

    • forecastsMemoryMin

      public final JobsRecord.Builder forecastsMemoryMin(@Nullable String value)
      minimum memory used by forecasts

      API name: forecasts.memory.min

    • forecastsMemoryMax

      public final JobsRecord.Builder forecastsMemoryMax(@Nullable String value)
      maximum memory used by forecasts

      API name: forecasts.memory.max

    • forecastsMemoryAvg

      public final JobsRecord.Builder forecastsMemoryAvg(@Nullable String value)
      average memory used by forecasts

      API name: forecasts.memory.avg

    • forecastsMemoryTotal

      public final JobsRecord.Builder forecastsMemoryTotal(@Nullable String value)
      total memory used by all forecasts

      API name: forecasts.memory.total

    • forecastsRecordsMin

      public final JobsRecord.Builder forecastsRecordsMin(@Nullable String value)
      minimum record count for forecasts

      API name: forecasts.records.min

    • forecastsRecordsMax

      public final JobsRecord.Builder forecastsRecordsMax(@Nullable String value)
      maximum record count for forecasts

      API name: forecasts.records.max

    • forecastsRecordsAvg

      public final JobsRecord.Builder forecastsRecordsAvg(@Nullable String value)
      average record count for forecasts

      API name: forecasts.records.avg

    • forecastsRecordsTotal

      public final JobsRecord.Builder forecastsRecordsTotal(@Nullable String value)
      total record count for all forecasts

      API name: forecasts.records.total

    • forecastsTimeMin

      public final JobsRecord.Builder forecastsTimeMin(@Nullable String value)
      minimum runtime for forecasts

      API name: forecasts.time.min

    • forecastsTimeMax

      public final JobsRecord.Builder forecastsTimeMax(@Nullable String value)
      maximum run time for forecasts

      API name: forecasts.time.max

    • forecastsTimeAvg

      public final JobsRecord.Builder forecastsTimeAvg(@Nullable String value)
      average runtime for all forecasts (milliseconds)

      API name: forecasts.time.avg

    • forecastsTimeTotal

      public final JobsRecord.Builder forecastsTimeTotal(@Nullable String value)
      total runtime for all forecasts

      API name: forecasts.time.total

    • nodeId

      public final JobsRecord.Builder nodeId(@Nullable String value)
      id of the assigned node

      API name: node.id

    • nodeName

      public final JobsRecord.Builder nodeName(@Nullable String value)
      name of the assigned node

      API name: node.name

    • nodeEphemeralId

      public final JobsRecord.Builder nodeEphemeralId(@Nullable String value)
      ephemeral id of the assigned node

      API name: node.ephemeral_id

    • nodeAddress

      public final JobsRecord.Builder nodeAddress(@Nullable String value)
      network address of the assigned node

      API name: node.address

    • bucketsCount

      public final JobsRecord.Builder bucketsCount(@Nullable String value)
      bucket count

      API name: buckets.count

    • bucketsTimeTotal

      public final JobsRecord.Builder bucketsTimeTotal(@Nullable String value)
      total bucket processing time

      API name: buckets.time.total

    • bucketsTimeMin

      public final JobsRecord.Builder bucketsTimeMin(@Nullable String value)
      minimum bucket processing time

      API name: buckets.time.min

    • bucketsTimeMax

      public final JobsRecord.Builder bucketsTimeMax(@Nullable String value)
      maximum bucket processing time

      API name: buckets.time.max

    • bucketsTimeExpAvg

      public final JobsRecord.Builder bucketsTimeExpAvg(@Nullable String value)
      exponential average bucket processing time (milliseconds)

      API name: buckets.time.exp_avg

    • bucketsTimeExpAvgHour

      public final JobsRecord.Builder bucketsTimeExpAvgHour(@Nullable String value)
      exponential average bucket processing time by hour (milliseconds)

      API name: buckets.time.exp_avg_hour

    • self

      protected JobsRecord.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<JobsRecord.Builder>
    • build

      public JobsRecord build()
      Builds a JobsRecord.
      Specified by:
      build in interface ObjectBuilder<JobsRecord>
      Throws:
      NullPointerException - if some of the required fields are null.