Class PutJobRequest

All Implemented Interfaces:

public class PutJobRequest
extends RequestBase
implements JsonpSerializable
Creates a rollup job.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static PutJobRequest of​(java.util.function.Function<PutJobRequest.Builder,​ObjectBuilder<PutJobRequest>> fn)
    • cron

      @Nullable public final java.lang.String cron()
      API name: cron
    • groups

      @Nullable public final Groupings groups()
      API name: groups
    • id

      public final java.lang.String id()
      Required - The ID of the job to create

      API name: id

    • indexPattern

      @Nullable public final java.lang.String indexPattern()
      API name: index_pattern
    • metrics

      public final java.util.List<FieldMetric> metrics()
      API name: metrics
    • pageSize

      @Nullable public final java.lang.Long pageSize()
      API name: page_size
    • rollupIndex

      @Nullable public final java.lang.String rollupIndex()
      API name: rollup_index
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupPutJobRequestDeserializer

      protected static void setupPutJobRequestDeserializer​(ObjectDeserializer<PutJobRequest.Builder> op)