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 class
HttpInputBasicAuthentication.Builder
Builder forHttpInputBasicAuthentication
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HttpInputBasicAuthentication>
_DESERIALIZER
Json deserializer forHttpInputBasicAuthentication
-
Method Summary
Modifier and Type Method Description static HttpInputBasicAuthentication
of(java.util.function.Function<HttpInputBasicAuthentication.Builder,ObjectBuilder<HttpInputBasicAuthentication>> fn)
java.lang.String
password()
Required - API name:password
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupHttpInputBasicAuthenticationDeserializer(ObjectDeserializer<HttpInputBasicAuthentication.Builder> op)
java.lang.String
username()
Required - API name:username
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupHttpInputBasicAuthenticationDeserializer
protected static void setupHttpInputBasicAuthenticationDeserializer(ObjectDeserializer<HttpInputBasicAuthentication.Builder> op)
-