Class UpdateNameRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.UpdateNameRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class UpdateNameRequest
extends RequestBase
implements JsonpSerializable
Update the connector name and description.
- 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<UpdateNameRequest>Json deserializer forUpdateNameRequeststatic final Endpoint<UpdateNameRequest,UpdateNameResponse, ErrorResponse> Endpoint "connector.update_name". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The unique identifier of the connector to be updatedfinal StringAPI name:descriptionfinal Stringname()API name:namestatic UpdateNameRequestvoidserialize(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 forUpdateNameRequest -
_ENDPOINT
Endpoint "connector.update_name".
-
-
Method Details
-
of
public static UpdateNameRequest of(Function<UpdateNameRequest.Builder, ObjectBuilder<UpdateNameRequest>> fn) -
connectorId
Required - The unique identifier of the connector to be updatedAPI name:
connector_id -
description
API name:description -
name
API name:name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupUpdateNameRequestDeserializer
protected static void setupUpdateNameRequestDeserializer(ObjectDeserializer<UpdateNameRequest.Builder> op)
-