Class NodeInfoHttp.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoHttp.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoHttp.Builder,,NodeInfoHttp> MutableBuilder<NodeInfoHttp.Builder,,NodeInfoHttp> ObjectBuilder<NodeInfoHttp>
- Enclosing class:
NodeInfoHttp
public static class NodeInfoHttp.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoHttp.Builder,NodeInfoHttp>
Builder for
NodeInfoHttp.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal NodeInfoHttp.BuilderboundAddress(String value, String... values) Required - The addresses the node is bound to for HTTP traffic.final NodeInfoHttp.BuilderboundAddress(List<String> list) Required - The addresses the node is bound to for HTTP traffic.build()Builds aNodeInfoHttp.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodeInfoHttp.BuildermaxContentLength(String value) API name:max_content_lengthfinal NodeInfoHttp.BuildermaxContentLengthInBytes(long value) Required - API name:max_content_length_in_bytesfinal NodeInfoHttp.BuilderpublishAddress(String value) Required - The HTTP address published to other nodes.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<NodeInfoHttp.Builder,NodeInfoHttp> - Returns:
- a new builder instance.
-
boundAddress
Required - The addresses the node is bound to for HTTP traffic.API name:
bound_addressAdds all elements of
listtoboundAddress. -
boundAddress
Required - The addresses the node is bound to for HTTP traffic.API name:
bound_addressAdds one or more values to
boundAddress. -
maxContentLength
API name:max_content_length -
maxContentLengthInBytes
Required - API name:max_content_length_in_bytes -
publishAddress
Required - The HTTP address published to other nodes.API name:
publish_address -
build
Builds aNodeInfoHttp.- Specified by:
buildin interfaceObjectBuilder<NodeInfoHttp>- Throws:
NullPointerException- if some of the required fields are null.
-