Class HttpInputBasicAuthentication
java.lang.Object
co.elastic.clients.elasticsearch.watcher.HttpInputBasicAuthentication
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class HttpInputBasicAuthentication extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpInputBasicAuthentication.BuilderBuilder forHttpInputBasicAuthentication. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HttpInputBasicAuthentication>_DESERIALIZERJson deserializer forHttpInputBasicAuthentication -
Method Summary
Modifier and Type Method Description static HttpInputBasicAuthenticationof(java.util.function.Function<HttpInputBasicAuthentication.Builder,ObjectBuilder<HttpInputBasicAuthentication>> fn)java.lang.Stringpassword()Required - API name:passwordvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHttpInputBasicAuthenticationDeserializer(ObjectDeserializer<HttpInputBasicAuthentication.Builder> op)java.lang.StringtoString()java.lang.Stringusername()Required - API name:usernameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHttpInputBasicAuthentication
-
-
Method Details
-
of
public static HttpInputBasicAuthentication of(java.util.function.Function<HttpInputBasicAuthentication.Builder,ObjectBuilder<HttpInputBasicAuthentication>> fn) -
password
public final java.lang.String password()Required - API name:password -
username
public final java.lang.String username()Required - API name:username -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupHttpInputBasicAuthenticationDeserializer
protected static void setupHttpInputBasicAuthenticationDeserializer(ObjectDeserializer<HttpInputBasicAuthentication.Builder> op)
-