Class DeleteDataLifecycleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteDataLifecycleRequest.Builder>
co.elastic.clients.elasticsearch.indices.DeleteDataLifecycleRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteDataLifecycleRequest.Builder>,ObjectBuilder<DeleteDataLifecycleRequest>
- Enclosing class:
- DeleteDataLifecycleRequest
public static class DeleteDataLifecycleRequest.Builder
extends RequestBase.AbstractBuilder<DeleteDataLifecycleRequest.Builder>
implements ObjectBuilder<DeleteDataLifecycleRequest>
Builder for
DeleteDataLifecycleRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteDataLifecycleRequest.expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether wildcard expressions should get expanded to open or closed indices (default: open)expandWildcards(List<ExpandWildcard> list) Whether wildcard expressions should get expanded to open or closed indices (default: open)masterTimeout(Time value) Specify timeout for connection to masterSpecify timeout for connection to masterRequired - A comma-separated list of data streams of which the data stream lifecycle will be deleted; use*to get all data streamsRequired - A comma-separated list of data streams of which the data stream lifecycle will be deleted; use*to get all data streamsprotected DeleteDataLifecycleRequest.Builderself()Explicit timestamp for the documentExplicit timestamp for the documentMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expandWildcards
Whether wildcard expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcardsAdds all elements of
listtoexpandWildcards. -
expandWildcards
public final DeleteDataLifecycleRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether wildcard expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcardsAdds one or more values to
expandWildcards. -
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout -
masterTimeout
public final DeleteDataLifecycleRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Specify timeout for connection to masterAPI name:
master_timeout -
name
Required - A comma-separated list of data streams of which the data stream lifecycle will be deleted; use*to get all data streamsAPI name:
nameAdds all elements of
listtoname. -
name
Required - A comma-separated list of data streams of which the data stream lifecycle will be deleted; use*to get all data streamsAPI name:
nameAdds one or more values to
name. -
timeout
Explicit timestamp for the documentAPI name:
timeout -
timeout
public final DeleteDataLifecycleRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Explicit timestamp for the documentAPI name:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteDataLifecycleRequest.Builder>
-
build
Builds aDeleteDataLifecycleRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteDataLifecycleRequest>- Throws:
NullPointerException- if some of the required fields are null.
-