Class AuthenticationProvider
java.lang.Object
co.elastic.clients.elasticsearch.security.get_token.AuthenticationProvider
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AuthenticationProvider extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationProvider.BuilderBuilder forAuthenticationProvider. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AuthenticationProvider>_DESERIALIZERJson deserializer forAuthenticationProvider -
Constructor Summary
Constructors Constructor Description AuthenticationProvider(AuthenticationProvider.Builder builder)AuthenticationProvider(java.util.function.Function<AuthenticationProvider.Builder,AuthenticationProvider.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringname()Required - API name:namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAuthenticationProviderDeserializer(DelegatingDeserializer<AuthenticationProvider.Builder> op)java.lang.Stringtype()Required - API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAuthenticationProvider
-
-
Constructor Details
-
AuthenticationProvider
-
AuthenticationProvider
public AuthenticationProvider(java.util.function.Function<AuthenticationProvider.Builder,AuthenticationProvider.Builder> fn)
-
-
Method Details
-
type
public java.lang.String type()Required - API name:type -
name
public java.lang.String name()Required - API name:name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAuthenticationProviderDeserializer
protected static void setupAuthenticationProviderDeserializer(DelegatingDeserializer<AuthenticationProvider.Builder> op)
-