Class NodeInfoAggregation.Builder
java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeInfoAggregation.Builder
- All Implemented Interfaces:
ObjectBuilder<NodeInfoAggregation>
- Enclosing class:
- NodeInfoAggregation
public static class NodeInfoAggregation.Builder extends java.lang.Object implements ObjectBuilder<NodeInfoAggregation>
Builder for
NodeInfoAggregation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeInfoAggregation.BuilderaddTypes(java.lang.String value)Add a value totypes(List), creating the list if needed.NodeInfoAggregationbuild()Builds aNodeInfoAggregation.NodeInfoAggregation.Buildertypes(java.lang.String... value)API name:typesNodeInfoAggregation.Buildertypes(java.util.List<java.lang.String> value)API name:types
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
types
API name:types -
types
API name:types -
addTypes
Add a value totypes(List), creating the list if needed. -
build
Builds aNodeInfoAggregation.- Specified by:
buildin interfaceObjectBuilder<NodeInfoAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-