Package com.ibm.cloud.cloudant.v1.model
Class IndexField.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.IndexField.Builder
- Enclosing class:
 IndexField
Builder.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionAdd an arbitrary property.build()Builds a IndexField.Set the name.Set the type. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. 
 - 
 - 
Method Details
- 
build
Builds a IndexField.- Returns:
 - the new IndexField instance
 
 - 
name
Set the name.- Parameters:
 name- the name- Returns:
 - the IndexField builder
 
 - 
type
Set the type.- Parameters:
 type- the type- Returns:
 - the IndexField builder
 
 - 
add
Add an arbitrary property. Schema for sort direction.- Parameters:
 name- the name of the property to addvalue- the value of the property to add- Returns:
 - the IndexField builder
 
 
 -