Class DeleteDataStreamOptionsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteDataStreamOptionsRequest.Builder>
co.elastic.clients.elasticsearch.indices.DeleteDataStreamOptionsRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteDataStreamOptionsRequest.Builder>,ObjectBuilder<DeleteDataStreamOptionsRequest>
- Enclosing class:
- DeleteDataStreamOptionsRequest
public static class DeleteDataStreamOptionsRequest.Builder
extends RequestBase.AbstractBuilder<DeleteDataStreamOptionsRequest.Builder>
implements ObjectBuilder<DeleteDataStreamOptionsRequest>
Builder for
DeleteDataStreamOptionsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteDataStreamOptionsRequest.expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether wildcard expressions should get expanded to open or closed indicesexpandWildcards(List<ExpandWildcard> list) Whether wildcard expressions should get expanded to open or closed indicesmasterTimeout(Time value) The period to wait for a connection to the master node.The period to wait for a connection to the master node.Required - A comma-separated list of data streams of which the data stream options will be deleted.Required - A comma-separated list of data streams of which the data stream options will be deleted.protected DeleteDataStreamOptionsRequest.Builderself()The period to wait for a response.The period to wait for a response.Methods 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 indicesAPI name:
expand_wildcardsAdds all elements of
listtoexpandWildcards. -
expandWildcards
public final DeleteDataStreamOptionsRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether wildcard expressions should get expanded to open or closed indicesAPI name:
expand_wildcardsAdds one or more values to
expandWildcards. -
masterTimeout
The period to wait for a connection to the master node.API name:
master_timeout -
masterTimeout
public final DeleteDataStreamOptionsRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for a connection to the master node.API name:
master_timeout -
name
Required - A comma-separated list of data streams of which the data stream options 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 options will be deleted. Use*to get all data streamsAPI name:
nameAdds one or more values to
name. -
timeout
The period to wait for a response.API name:
timeout -
timeout
public final DeleteDataStreamOptionsRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for a response.API name:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteDataStreamOptionsRequest.Builder>
-
build
Builds aDeleteDataStreamOptionsRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteDataStreamOptionsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-