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 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 options will be deleted; use*to get all data streamsRequired - A comma-separated list of data streams of which the data stream options will be deleted; use*to get all data streamsprotected DeleteDataStreamOptionsRequest.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 DeleteDataStreamOptionsRequest.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 DeleteDataStreamOptionsRequest.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 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
Explicit timestamp for the documentAPI name:
timeout -
timeout
public final DeleteDataStreamOptionsRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Explicit timestamp for the documentAPI 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.
-