Class UpdateTransformRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.transform.UpdateTransformRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<UpdateTransformRequest>
- Enclosing class:
- UpdateTransformRequest
public static class UpdateTransformRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<UpdateTransformRequest>
Builder for
UpdateTransformRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description UpdateTransformRequest
build()
Builds aUpdateTransformRequest
.UpdateTransformRequest.Builder
deferValidation(java.lang.Boolean value)
When true, deferrable validations are not run.UpdateTransformRequest.Builder
description(java.lang.String value)
Free text description of the transform.UpdateTransformRequest.Builder
dest(Destination value)
The destination for the transform.UpdateTransformRequest.Builder
dest(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)
The destination for the transform.UpdateTransformRequest.Builder
frequency(Time value)
The interval between checks for changes in the source indices when the transform is running continuously.UpdateTransformRequest.Builder
frequency(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
The interval between checks for changes in the source indices when the transform is running continuously.UpdateTransformRequest.Builder
retentionPolicy(RetentionPolicy value)
Defines a retention policy for the transform.UpdateTransformRequest.Builder
retentionPolicy(java.util.function.Function<RetentionPolicy.Builder,ObjectBuilder<RetentionPolicy>> fn)
Defines a retention policy for the transform.UpdateTransformRequest.Builder
settings(Settings value)
Defines optional transform settings.UpdateTransformRequest.Builder
settings(java.util.function.Function<Settings.Builder,ObjectBuilder<Settings>> fn)
Defines optional transform settings.UpdateTransformRequest.Builder
source(Source value)
The source of the data for the transform.UpdateTransformRequest.Builder
source(java.util.function.Function<Source.Builder,ObjectBuilder<Source>> fn)
The source of the data for the transform.UpdateTransformRequest.Builder
sync(Sync value)
Defines the properties transforms require to run continuously.UpdateTransformRequest.Builder
sync(java.util.function.Function<Sync.Builder,ObjectBuilder<Sync>> fn)
Defines the properties transforms require to run continuously.UpdateTransformRequest.Builder
transformId(java.lang.String value)
Required - Identifier for the transform.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deferValidation
When 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
-
description
Free text description of the transform.API name:
description
-
dest
The destination for the transform.API name:
dest
-
dest
public final UpdateTransformRequest.Builder dest(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)The destination for the transform.API name:
dest
-
frequency
The 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
-
frequency
public final UpdateTransformRequest.Builder frequency(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)The 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
-
retentionPolicy
Defines a retention policy for the transform. Data that meets the defined criteria is deleted from the destination index.API name:
retention_policy
-
retentionPolicy
public final UpdateTransformRequest.Builder retentionPolicy(java.util.function.Function<RetentionPolicy.Builder,ObjectBuilder<RetentionPolicy>> fn)Defines a retention policy for the transform. Data that meets the defined criteria is deleted from the destination index.API name:
retention_policy
-
settings
Defines optional transform settings.API name:
settings
-
settings
public final UpdateTransformRequest.Builder settings(java.util.function.Function<Settings.Builder,ObjectBuilder<Settings>> fn)Defines optional transform settings.API name:
settings
-
source
The source of the data for the transform.API name:
source
-
source
public final UpdateTransformRequest.Builder source(java.util.function.Function<Source.Builder,ObjectBuilder<Source>> fn)The source of the data for the transform.API name:
source
-
sync
Defines the properties transforms require to run continuously.API name:
sync
-
sync
public final UpdateTransformRequest.Builder sync(java.util.function.Function<Sync.Builder,ObjectBuilder<Sync>> fn)Defines the properties transforms require to run continuously.API name:
sync
-
transformId
Required - Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.API name:
transform_id
-
build
Builds aUpdateTransformRequest
.- Specified by:
build
in interfaceObjectBuilder<UpdateTransformRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-