Class UpdateNativeRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.UpdateNativeRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class UpdateNativeRequest
extends RequestBase
implements JsonpSerializable
Update the connector is_native flag.
- 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<UpdateNativeRequest>
Json deserializer forUpdateNativeRequest
static final Endpoint<UpdateNativeRequest,
UpdateNativeResponse, ErrorResponse> Endpoint "connector.update_native
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Required - The unique identifier of the connector to be updatedfinal boolean
isNative()
Required - API name:is_native
static UpdateNativeRequest
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
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateNativeRequest
-
_ENDPOINT
Endpoint "connector.update_native
".
-
-
Method Details
-
of
public static UpdateNativeRequest of(Function<UpdateNativeRequest.Builder, ObjectBuilder<UpdateNativeRequest>> fn) -
connectorId
Required - The unique identifier of the connector to be updatedAPI name:
connector_id
-
isNative
public final boolean isNative()Required - API name:is_native
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupUpdateNativeRequestDeserializer
protected static void setupUpdateNativeRequestDeserializer(ObjectDeserializer<UpdateNativeRequest.Builder> op)
-