Class NodeInfoHttp.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoHttp.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoHttp.Builder
- All Implemented Interfaces:
WithJson<NodeInfoHttp.Builder>,ObjectBuilder<NodeInfoHttp>
- Enclosing class:
- NodeInfoHttp
public static class NodeInfoHttp.Builder extends WithJsonObjectBuilderBase<NodeInfoHttp.Builder> implements ObjectBuilder<NodeInfoHttp>
Builder for
NodeInfoHttp.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeInfoHttp.BuilderboundAddress(java.lang.String value, java.lang.String... values)Required - API name:bound_addressNodeInfoHttp.BuilderboundAddress(java.util.List<java.lang.String> list)Required - API name:bound_addressNodeInfoHttpbuild()Builds aNodeInfoHttp.NodeInfoHttp.BuildermaxContentLength(java.lang.String value)API name:max_content_lengthNodeInfoHttp.BuildermaxContentLengthInBytes(long value)Required - API name:max_content_length_in_bytesNodeInfoHttp.BuilderpublishAddress(java.lang.String value)Required - API name:publish_addressprotected NodeInfoHttp.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
boundAddress
Required - API name:bound_addressAdds all elements of
listtoboundAddress. -
boundAddress
Required - 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 - API name:publish_address -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeInfoHttp.Builder>
-
build
Builds aNodeInfoHttp.- Specified by:
buildin interfaceObjectBuilder<NodeInfoHttp>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-