RemoveByDocumentIdRequest.Builder
public
static
final
class
RemoveByDocumentIdRequest.Builder
extends Object
java.lang.Object | |
↳ | android.app.appsearch.RemoveByDocumentIdRequest.Builder |
Builder for RemoveByDocumentIdRequest
objects.
Summary
Public constructors | |
---|---|
Builder(String namespace)
Creates a |
Public methods | |
---|---|
RemoveByDocumentIdRequest.Builder
|
addIds(String... ids)
Adds one or more document IDs to the request. |
RemoveByDocumentIdRequest.Builder
|
addIds(Collection<String> ids)
Adds a collection of IDs to the request. |
RemoveByDocumentIdRequest
|
build()
Builds a new |
Inherited methods | |
---|---|
Public constructors
Builder
public Builder (String namespace)
Creates a RemoveByDocumentIdRequest.Builder
instance.
Parameters | |
---|---|
namespace |
String : This value cannot be null . |
Public methods
addIds
public RemoveByDocumentIdRequest.Builder addIds (String... ids)
Adds one or more document IDs to the request.
Parameters | |
---|---|
ids |
String : This value cannot be null . |
Returns | |
---|---|
RemoveByDocumentIdRequest.Builder |
This value cannot be null . |
addIds
public RemoveByDocumentIdRequest.Builder addIds (Collection<String> ids)
Adds a collection of IDs to the request.
Parameters | |
---|---|
ids |
Collection : This value cannot be null . |
Returns | |
---|---|
RemoveByDocumentIdRequest.Builder |
This value cannot be null . |
build
public RemoveByDocumentIdRequest build ()
Builds a new RemoveByDocumentIdRequest
.
Returns | |
---|---|
RemoveByDocumentIdRequest |
This value cannot be null . |