Class DeleteDataStreamRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.DeleteDataStreamRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteDataStreamRequest>
- Enclosing class:
- DeleteDataStreamRequest
public static class DeleteDataStreamRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<DeleteDataStreamRequest>
Builder for
DeleteDataStreamRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DeleteDataStreamRequestbuild()Builds aDeleteDataStreamRequest.DeleteDataStreamRequest.BuilderexpandWildcards(ExpandWildcard value, ExpandWildcard... values)Whether wildcard expressions should get expanded to open or closed indices (default: open)DeleteDataStreamRequest.BuilderexpandWildcards(java.util.List<ExpandWildcard> list)Whether wildcard expressions should get expanded to open or closed indices (default: open)DeleteDataStreamRequest.Buildername(java.lang.String value, java.lang.String... values)Required - A comma-separated list of data streams to delete; use*to delete all data streamsDeleteDataStreamRequest.Buildername(java.util.List<java.lang.String> list)Required - A comma-separated list of data streams to delete; use*to delete all data streamsMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 DeleteDataStreamRequest.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. -
name
Required - A comma-separated list of data streams to delete; use*to delete all data streamsAPI name:
nameAdds all elements of
listtoname. -
name
public final DeleteDataStreamRequest.Builder name(java.lang.String value, java.lang.String... values)Required - A comma-separated list of data streams to delete; use*to delete all data streamsAPI name:
nameAdds one or more values to
name. -
build
Builds aDeleteDataStreamRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteDataStreamRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-