Class NodeInfoTransport.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoTransport.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoTransport.Builder,,NodeInfoTransport> MutableBuilder<NodeInfoTransport.Builder,,NodeInfoTransport> ObjectBuilder<NodeInfoTransport>
- Enclosing class:
NodeInfoTransport
public static class NodeInfoTransport.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoTransport.Builder,NodeInfoTransport>
Builder for
NodeInfoTransport.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboundAddress(String value, String... values) Required - The addresses the node is bound to for transport traffic.boundAddress(List<String> list) Required - The addresses the node is bound to for transport traffic.build()Builds aNodeInfoTransport.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - The configured transport profiles.Required - The configured transport profiles.publishAddress(String value) Required - The published transport address.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<NodeInfoTransport.Builder,NodeInfoTransport> - Returns:
- a new builder instance.
-
boundAddress
Required - The addresses the node is bound to for transport traffic.API name:
bound_addressAdds all elements of
listtoboundAddress. -
boundAddress
Required - The addresses the node is bound to for transport traffic.API name:
bound_addressAdds one or more values to
boundAddress. -
profiles
Required - The configured transport profiles.API name:
profilesAdds all elements of
maptoprofiles. -
profiles
Required - The configured transport profiles.API name:
profilesAdds an entry to
profiles. -
publishAddress
Required - The published transport address.API name:
publish_address -
build
Builds aNodeInfoTransport.- Specified by:
buildin interfaceObjectBuilder<NodeInfoTransport>- Throws:
NullPointerException- if some of the required fields are null.
-