Class TrainedModelTreeNode.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.TrainedModelTreeNode.Builder
- All Implemented Interfaces:
ObjectBuilder<TrainedModelTreeNode>
- Enclosing class:
- TrainedModelTreeNode
public static class TrainedModelTreeNode.Builder extends java.lang.Object implements ObjectBuilder<TrainedModelTreeNode>
Builder for
TrainedModelTreeNode.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TrainedModelTreeNodebuild()Builds aTrainedModelTreeNode.TrainedModelTreeNode.BuilderdecisionType(java.lang.String value)API name:decision_typeTrainedModelTreeNode.BuilderdefaultLeft(java.lang.Boolean value)API name:default_leftTrainedModelTreeNode.BuilderleafValue(java.lang.Double value)API name:leaf_valueTrainedModelTreeNode.BuilderleftChild(java.lang.Integer value)API name:left_childTrainedModelTreeNode.BuildernodeIndex(int value)Required - API name:node_indexTrainedModelTreeNode.BuilderrightChild(java.lang.Integer value)API name:right_childTrainedModelTreeNode.BuildersplitFeature(java.lang.Integer value)API name:split_featureTrainedModelTreeNode.BuildersplitGain(java.lang.Integer value)API name:split_gainTrainedModelTreeNode.Builderthreshold(java.lang.Double value)API name:thresholdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
decisionType
API name:decision_type -
defaultLeft
API name:default_left -
leafValue
API name:leaf_value -
leftChild
API name:left_child -
nodeIndex
Required - API name:node_index -
rightChild
API name:right_child -
splitFeature
API name:split_feature -
splitGain
API name:split_gain -
threshold
API name:threshold -
build
Builds aTrainedModelTreeNode.- Specified by:
buildin interfaceObjectBuilder<TrainedModelTreeNode>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-