Class StartDatafeedResponse.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.StartDatafeedResponse.Builder
All Implemented Interfaces:
ObjectBuilder<StartDatafeedResponse>
Enclosing class:
StartDatafeedResponse

public static class StartDatafeedResponse.Builder
extends ObjectBuilderBase
implements ObjectBuilder<StartDatafeedResponse>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • node

      public final StartDatafeedResponse.Builder node​(java.util.List<java.lang.String> list)
      Required - The ID of the node that the datafeed was started on. If the datafeed is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.

      API name: node

      Adds all elements of list to node.

    • node

      public final StartDatafeedResponse.Builder node​(java.lang.String value, java.lang.String... values)
      Required - The ID of the node that the datafeed was started on. If the datafeed is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.

      API name: node

      Adds one or more values to node.

    • started

      public final StartDatafeedResponse.Builder started​(boolean value)
      Required - For a successful response, this value is always true. On failure, an exception is returned instead.

      API name: started

    • build

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