Class AuthenticationProvider.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AuthenticationProvider.Builder>
co.elastic.clients.elasticsearch.security.get_token.AuthenticationProvider.Builder
- All Implemented Interfaces:
WithJson<AuthenticationProvider.Builder>
,ObjectBuilder<AuthenticationProvider>
- Enclosing class:
- AuthenticationProvider
public static class AuthenticationProvider.Builder extends WithJsonObjectBuilderBase<AuthenticationProvider.Builder> implements ObjectBuilder<AuthenticationProvider>
Builder for
AuthenticationProvider
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AuthenticationProvider
build()
Builds aAuthenticationProvider
.AuthenticationProvider.Builder
name(java.lang.String value)
Required - API name:name
protected AuthenticationProvider.Builder
self()
AuthenticationProvider.Builder
type(java.lang.String value)
Required - API name:type
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Required - API name:type
-
name
Required - API name:name
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AuthenticationProvider.Builder>
-
build
Builds aAuthenticationProvider
.- Specified by:
build
in interfaceObjectBuilder<AuthenticationProvider>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-