Class NodeInfoAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoAggregation.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoAggregation.Builder
- All Implemented Interfaces:
WithJson<NodeInfoAggregation.Builder>,ObjectBuilder<NodeInfoAggregation>
- Enclosing class:
- NodeInfoAggregation
public static class NodeInfoAggregation.Builder
extends WithJsonObjectBuilderBase<NodeInfoAggregation.Builder>
implements ObjectBuilder<NodeInfoAggregation>
Builder for
NodeInfoAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoAggregation.protected NodeInfoAggregation.Builderself()Required - API name:typesRequired - API name:typesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
types
Required - API name:typesAdds all elements of
listtotypes. -
types
Required - API name:typesAdds one or more values to
types. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeInfoAggregation.Builder>
-
build
Builds aNodeInfoAggregation.- Specified by:
buildin interfaceObjectBuilder<NodeInfoAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-