Class UpdateIndexNameRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.UpdateIndexNameRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class UpdateIndexNameRequest
extends RequestBase
implements JsonpSerializable
Update the connector index name.
Update the index_name field of a connector, specifying the index
where the data ingested by the connector is stored.
- 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<UpdateIndexNameRequest>Json deserializer forUpdateIndexNameRequeststatic final Endpoint<UpdateIndexNameRequest,UpdateIndexNameResponse, ErrorResponse> Endpoint "connector.update_index_name". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The unique identifier of the connector to be updatedfinal StringRequired - API name:index_namestatic UpdateIndexNameRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateIndexNameRequest -
_ENDPOINT
public static final Endpoint<UpdateIndexNameRequest,UpdateIndexNameResponse, _ENDPOINTErrorResponse> Endpoint "connector.update_index_name".
-
-
Method Details
-
of
public static UpdateIndexNameRequest of(Function<UpdateIndexNameRequest.Builder, ObjectBuilder<UpdateIndexNameRequest>> fn) -
connectorId
Required - The unique identifier of the connector to be updatedAPI name:
connector_id -
indexName
Required - API name:index_name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupUpdateIndexNameRequestDeserializer
protected static void setupUpdateIndexNameRequestDeserializer(ObjectDeserializer<UpdateIndexNameRequest.Builder> op)
-