DeleteIndex.Builder Class
A builder for constructing DeleteIndex instances.
Rather than having to manually construct the options and instantiating a DeleteIndex directly, this builder may be used.
var del = DeleteIndex.Builder()
.withIndexName('index_name')
.withCallback(callback)
.build();
Constructor
DeleteIndex.Builder
()
Item Index
Methods
Methods
withCallback
(
chainable
-
callback
Set the callback to be executed when the operation completes.
Parameters:
-
callback
Functionthe callback to execute
-
err
StringAn error message
-
response
Booleanwill always be true.
-
withIndexName
(
chainable
-
indexName
The name of the index to delete. If one is not supplied, all indexes are returned.
Parameters:
-
indexName
Stringthe name of the index