Package com.ibm.cloud.cloudant.v1.model
Class PostIndexOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostIndexOptions.Builder
- Enclosing class:
 PostIndexOptions
Builder.
- 
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(String db, IndexDefinition index) Instantiates a new builder with required properties. - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a PostIndexOptions.Set the db.Set the ddoc.index(IndexDefinition index) Set the index.Set the name.partitioned(Boolean partitioned) Set the partitioned.Set the type. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 db- the dbindex- the index
 
 - 
 - 
Method Details
- 
build
Builds a PostIndexOptions.- Returns:
 - the new PostIndexOptions instance
 
 - 
db
Set the db.- Parameters:
 db- the db- Returns:
 - the PostIndexOptions builder
 
 - 
index
Set the index.- Parameters:
 index- the index- Returns:
 - the PostIndexOptions builder
 
 - 
ddoc
Set the ddoc.- Parameters:
 ddoc- the ddoc- Returns:
 - the PostIndexOptions builder
 
 - 
name
Set the name.- Parameters:
 name- the name- Returns:
 - the PostIndexOptions builder
 
 - 
partitioned
Set the partitioned.- Parameters:
 partitioned- the partitioned- Returns:
 - the PostIndexOptions builder
 
 - 
type
Set the type.- Parameters:
 type- the type- Returns:
 - the PostIndexOptions builder
 
 
 -