Class UpdateTransformRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.transform.UpdateTransformRequest
- All Implemented Interfaces:
- JsonpSerializable
@JsonpDeserializable
public class UpdateTransformRequest
extends RequestBase
implements JsonpSerializable
Update a transform. Updates certain properties of a transform.
 
 All updated properties except description do not take effect
 until after the transform starts the next checkpoint, thus there is data
 consistency in each checkpoint. To use this API, you must have
 read and view_index_metadata privileges for the
 source indices. You must also have index and read
 privileges for the destination index. When Elasticsearch security features
 are enabled, the transform remembers which roles the user who updated it had
 at the time of update and runs with those privileges.
- 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<UpdateTransformRequest>Json deserializer forUpdateTransformRequeststatic final Endpoint<UpdateTransformRequest,UpdateTransformResponse, ErrorResponse> Endpoint "transform.update_transform".
- 
Method SummaryModifier and TypeMethodDescriptionfinal BooleanWhen true, deferrable validations are not run.final StringFree text description of the transform.final Destinationdest()The destination for the transform.final TimeThe interval between checks for changes in the source indices when the transform is running continuously.meta()Defines optional transform metadata.static UpdateTransformRequestfinal RetentionPolicyDefines a retention policy for the transform.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final Settingssettings()Defines optional transform settings.protected static voidfinal Sourcesource()The source of the data for the transform.final Syncsync()Defines the properties transforms require to run continuously.final Timetimeout()Period to wait for a response.final StringRequired - Identifier for the transform.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_DESERIALIZERJson deserializer forUpdateTransformRequest
- 
_ENDPOINTpublic static final Endpoint<UpdateTransformRequest,UpdateTransformResponse, _ENDPOINTErrorResponse> Endpoint "transform.update_transform".
 
- 
- 
Method Details- 
ofpublic static UpdateTransformRequest of(Function<UpdateTransformRequest.Builder, ObjectBuilder<UpdateTransformRequest>> fn) 
- 
metaDefines optional transform metadata.API name: _meta
- 
deferValidationWhen true, deferrable validations are not run. This behavior may be desired if the source index does not exist until after the transform is created.API name: defer_validation
- 
descriptionFree text description of the transform.API name: description
- 
destThe destination for the transform.API name: dest
- 
frequencyThe interval between checks for changes in the source indices when the transform is running continuously. Also determines the retry interval in the event of transient failures while the transform is searching or indexing. The minimum value is 1s and the maximum is 1h.API name: frequency
- 
retentionPolicyDefines a retention policy for the transform. Data that meets the defined criteria is deleted from the destination index.API name: retention_policy
- 
settingsDefines optional transform settings.API name: settings
- 
sourceThe source of the data for the transform.API name: source
- 
syncDefines the properties transforms require to run continuously.API name: sync
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
transformIdRequired - Identifier for the transform.API name: transform_id
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
setupUpdateTransformRequestDeserializerprotected static void setupUpdateTransformRequestDeserializer(ObjectDeserializer<UpdateTransformRequest.Builder> op) 
 
-