Package com.ibm.cloud.cloudant.v1.model
Class DeleteIndexOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.DeleteIndexOptions.Builder
- Enclosing class:
DeleteIndexOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a DeleteIndexOptions.Set the db.Set the ddoc.Set the index.Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbddoc
- the ddoctype
- the typeindex
- the index
-
-
Method Details
-
build
Builds a DeleteIndexOptions.- Returns:
- the new DeleteIndexOptions instance
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the DeleteIndexOptions builder
-
ddoc
Set the ddoc.- Parameters:
ddoc
- the ddoc- Returns:
- the DeleteIndexOptions builder
-
type
Set the type.- Parameters:
type
- the type- Returns:
- the DeleteIndexOptions builder
-
index
Set the index.- Parameters:
index
- the index- Returns:
- the DeleteIndexOptions builder
-