Class NodeAttributesResponse.Builder
java.lang.Object
org.opensearch.client.opensearch.cat.NodeAttributesResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<NodeAttributesResponse>
- Enclosing class:
- NodeAttributesResponse
public static class NodeAttributesResponse.Builder extends java.lang.Object implements ObjectBuilder<NodeAttributesResponse>
Builder for
NodeAttributesResponse.-
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 NodeAttributesResponse.BuilderaddValue(java.util.function.Function<NodeAttributesRecord.Builder,ObjectBuilder<NodeAttributesRecord>> fn)Add a value tovalue(List), creating the list if needed.NodeAttributesResponse.BuilderaddValue(NodeAttributesRecord value)Add a value tovalue(List), creating the list if needed.NodeAttributesResponsebuild()Builds aNodeAttributesResponse.NodeAttributesResponse.Buildervalue(java.util.function.Function<NodeAttributesRecord.Builder,ObjectBuilder<NodeAttributesRecord>> fn)Setvalue(List)to a singleton list.NodeAttributesResponse.Buildervalue(java.util.List<NodeAttributesRecord> value)Response value.NodeAttributesResponse.Buildervalue(NodeAttributesRecord... value)Response value.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Response value. API name:value -
value
Response value. API name:value -
addValue
Add a value tovalue(List), creating the list if needed. -
value
public NodeAttributesResponse.Builder value(java.util.function.Function<NodeAttributesRecord.Builder,ObjectBuilder<NodeAttributesRecord>> fn)Setvalue(List)to a singleton list. -
addValue
public NodeAttributesResponse.Builder addValue(java.util.function.Function<NodeAttributesRecord.Builder,ObjectBuilder<NodeAttributesRecord>> fn)Add a value tovalue(List), creating the list if needed. -
build
Builds aNodeAttributesResponse.- Specified by:
buildin interfaceObjectBuilder<NodeAttributesResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-