Package com.ibm.cloud.cloudant.v1.model
Class GeoIndexDefinition.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GeoIndexDefinition.Builder
-
- Enclosing class:
- GeoIndexDefinition
public static class GeoIndexDefinition.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoIndexDefinition
build()
Builds a GeoIndexDefinition.GeoIndexDefinition.Builder
index(String index)
Set the index.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String index)
Instantiates a new builder with required properties.- Parameters:
index
- the index
-
-
Method Detail
-
build
public GeoIndexDefinition build()
Builds a GeoIndexDefinition.- Returns:
- the new GeoIndexDefinition instance
-
index
public GeoIndexDefinition.Builder index(String index)
Set the index.- Parameters:
index
- the index- Returns:
- the GeoIndexDefinition builder
-
-