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 forPostRequest
static final Endpoint<PostRequest,
PostResponse, ErrorResponse> Endpoint "connector.post
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
API name:description
final String
API name:index_name
final Boolean
isNative()
API name:is_native
final String
language()
API name:language
final String
name()
API name:name
static PostRequest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final String
API name:service_type
protected static void
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPostRequestDeserializer
-