Class DeleteTransformRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteTransformRequest.Builder>
co.elastic.clients.elasticsearch.transform.DeleteTransformRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteTransformRequest.Builder>
,ObjectBuilder<DeleteTransformRequest>
- Enclosing class:
- DeleteTransformRequest
public static class DeleteTransformRequest.Builder
extends RequestBase.AbstractBuilder<DeleteTransformRequest.Builder>
implements ObjectBuilder<DeleteTransformRequest>
Builder for
DeleteTransformRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteTransformRequest
.deleteDestIndex
(Boolean value) If this value is true, the destination index is deleted together with the transform.If this value is false, the transform must be stopped before it can be deleted.protected DeleteTransformRequest.Builder
self()
Period to wait for a response.Period to wait for a response.transformId
(String value) Required - Identifier for the transform.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deleteDestIndex
If this value is true, the destination index is deleted together with the transform. If false, the destination index will not be deletedAPI name:
delete_dest_index
-
force
If this value is false, the transform must be stopped before it can be deleted. If true, the transform is deleted regardless of its current state.API name:
force
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
transformId
Required - Identifier for the transform.API name:
transform_id
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteTransformRequest.Builder>
-
build
Builds aDeleteTransformRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteTransformRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-