Class HttpInputProxy.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HttpInputProxy.Builder>
co.elastic.clients.elasticsearch.watcher.HttpInputProxy.Builder
- All Implemented Interfaces:
WithJson<HttpInputProxy.Builder>,ObjectBuilder<HttpInputProxy>
- Enclosing class:
- HttpInputProxy
public static class HttpInputProxy.Builder extends WithJsonObjectBuilderBase<HttpInputProxy.Builder> implements ObjectBuilder<HttpInputProxy>
Builder for
HttpInputProxy.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HttpInputProxybuild()Builds aHttpInputProxy.HttpInputProxy.Builderhost(java.lang.String value)Required - API name:hostHttpInputProxy.Builderport(java.lang.Number value)Required - API name:portprotected HttpInputProxy.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
-
host
Required - API name:host -
port
Required - API name:port -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<HttpInputProxy.Builder>
-
build
Builds aHttpInputProxy.- Specified by:
buildin interfaceObjectBuilder<HttpInputProxy>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-