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 -
Method Summary
Modifier and TypeMethodDescriptionfinal NodeInfoHttp.BuilderboundAddress(String value, String... values) Required - API name:bound_addressfinal NodeInfoHttp.BuilderboundAddress(List<String> list) Required - API name:bound_addressbuild()Builds aNodeInfoHttp.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 - 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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-