Package com.ibm.cloud.cloudant.v1.model
Class DeleteIndexOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.DeleteIndexOptions.Builder
-
- Enclosing class:
- DeleteIndexOptions
public static class DeleteIndexOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteIndexOptionsbuild()Builds a DeleteIndexOptions.DeleteIndexOptions.Builderdb(String db)Set the db.DeleteIndexOptions.Builderddoc(String ddoc)Set the ddoc.DeleteIndexOptions.Builderindex(String index)Set the index.DeleteIndexOptions.Buildertype(String type)Set the type.
-
-
-
Method Detail
-
build
public DeleteIndexOptions build()
Builds a DeleteIndexOptions.- Returns:
- the new DeleteIndexOptions instance
-
db
public DeleteIndexOptions.Builder db(String db)
Set the db.- Parameters:
db- the db- Returns:
- the DeleteIndexOptions builder
-
ddoc
public DeleteIndexOptions.Builder ddoc(String ddoc)
Set the ddoc.- Parameters:
ddoc- the ddoc- Returns:
- the DeleteIndexOptions builder
-
type
public DeleteIndexOptions.Builder type(String type)
Set the type.- Parameters:
type- the type- Returns:
- the DeleteIndexOptions builder
-
index
public DeleteIndexOptions.Builder index(String index)
Set the index.- Parameters:
index- the index- Returns:
- the DeleteIndexOptions builder
-
-