Class HttpInputAuthentication.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HttpInputAuthentication.Builder>
co.elastic.clients.elasticsearch.watcher.HttpInputAuthentication.Builder
- All Implemented Interfaces:
WithJson<HttpInputAuthentication.Builder>
,ObjectBuilder<HttpInputAuthentication>
- Enclosing class:
- HttpInputAuthentication
public static class HttpInputAuthentication.Builder
extends WithJsonObjectBuilderBase<HttpInputAuthentication.Builder>
implements ObjectBuilder<HttpInputAuthentication>
Builder for
HttpInputAuthentication
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:basic
basic
(Function<HttpInputBasicAuthentication.Builder, ObjectBuilder<HttpInputBasicAuthentication>> fn) Required - API name:basic
build()
Builds aHttpInputAuthentication
.protected HttpInputAuthentication.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basic
Required - API name:basic
-
basic
public final HttpInputAuthentication.Builder basic(Function<HttpInputBasicAuthentication.Builder, ObjectBuilder<HttpInputBasicAuthentication>> fn) Required - API name:basic
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<HttpInputAuthentication.Builder>
-
build
Builds aHttpInputAuthentication
.- Specified by:
build
in interfaceObjectBuilder<HttpInputAuthentication>
- Throws:
NullPointerException
- if some of the required fields are null.
-