Class PutRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.PutRequest
- All Implemented Interfaces:
JsonpSerializable
Create or update a connector.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutRequest>Json deserializer forPutRequeststatic final Endpoint<PutRequest,PutResponse, ErrorResponse> Endpoint "connector.put". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe unique identifier of the connector to be created or updated.final StringAPI name:descriptionfinal StringAPI name:index_namefinal BooleanisNative()API name:is_nativefinal Stringlanguage()API name:languagefinal Stringname()API name:namestatic PutRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final StringAPI name:service_typeprotected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutRequest -
_ENDPOINT
Endpoint "connector.put".
-
-
Method Details
-
of
-
connectorId
The unique identifier of the connector to be created or updated. ID is auto-generated if not provided.API name:
connector_id -
description
API name:description -
indexName
API name:index_name -
isNative
API name:is_native -
language
API name:language -
name
API name:name -
serviceType
API name:service_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutRequestDeserializer
-