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>
Builder for
StartDatafeedResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StartDatafeedResponsebuild()Builds aStartDatafeedResponse.StartDatafeedResponse.Buildernode(java.lang.String value, java.lang.String... values)Required - The ID of the node that the datafeed was started on.StartDatafeedResponse.Buildernode(java.util.List<java.lang.String> list)Required - The ID of the node that the datafeed was started on.StartDatafeedResponse.Builderstarted(boolean value)Required - For a successful response, this value is alwaystrue.Methods 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
-
node
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:
nodeAdds all elements of
listtonode. -
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:
nodeAdds one or more values to
node. -
started
Required - For a successful response, this value is alwaystrue. On failure, an exception is returned instead.API name:
started -
build
Builds aStartDatafeedResponse.- Specified by:
buildin interfaceObjectBuilder<StartDatafeedResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-