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 SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<UpdateIndexNameRequest>Json deserializer forUpdateIndexNameRequeststatic final Endpoint<UpdateIndexNameRequest,UpdateIndexNameResponse, ErrorResponse> Endpoint "connector.update_index_name".
- 
Method SummaryModifier 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.RequestBasetoString
- 
Field Details- 
_DESERIALIZERJson deserializer forUpdateIndexNameRequest
- 
_ENDPOINTpublic static final Endpoint<UpdateIndexNameRequest,UpdateIndexNameResponse, _ENDPOINTErrorResponse> Endpoint "connector.update_index_name".
 
- 
- 
Method Details- 
ofpublic static UpdateIndexNameRequest of(Function<UpdateIndexNameRequest.Builder, ObjectBuilder<UpdateIndexNameRequest>> fn) 
- 
connectorIdRequired - The unique identifier of the connector to be updatedAPI name: connector_id
- 
indexNameRequired - API name:index_name
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
setupUpdateIndexNameRequestDeserializerprotected static void setupUpdateIndexNameRequestDeserializer(ObjectDeserializer<UpdateIndexNameRequest.Builder> op) 
 
-