Class PostRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.PostRequest
- All Implemented Interfaces:
JsonpSerializable
Create a connector.
Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure. Elastic managed connectors (Native connectors) are a managed service on Elastic Cloud. Self-managed connectors (Connector clients) are self-managed on your infrastructure.
- 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<PostRequest>Json deserializer forPostRequeststatic final Endpoint<PostRequest,PostResponse, ErrorResponse> Endpoint "connector.post". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAPI name:descriptionfinal StringAPI name:index_namefinal BooleanisNative()API name:is_nativefinal Stringlanguage()API name:languagefinal Stringname()API name:namestatic PostRequestvoidserialize(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 forPostRequest -
_ENDPOINT
Endpoint "connector.post".
-
-
Method Details
-
of
-
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
-
setupPostRequestDeserializer
-