Package com.ibm.cloud.cloudant.v1.model
Class GetGeoOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.GetGeoOptions.Builder
- Enclosing class:
- GetGeoOptions
Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the bbox.Set the bookmark.build()
Builds a GetGeoOptions.Set the db.Set the ddoc.Set the format.Set the g.includeDocs
(Boolean includeDocs) Set the includeDocs.Set the index.Set the lat.limit
(long limit) Set the limit.Set the lon.Set the nearest.Set the radius.Set the rangex.Set the rangey.Set the relation.skip
(long skip) Set the skip.Set the stale.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbddoc
- the ddocindex
- the index
-
-
Method Details
-
build
Builds a GetGeoOptions.- Returns:
- the new GetGeoOptions instance
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the GetGeoOptions builder
-
ddoc
Set the ddoc.- Parameters:
ddoc
- the ddoc- Returns:
- the GetGeoOptions builder
-
index
Set the index.- Parameters:
index
- the index- Returns:
- the GetGeoOptions builder
-
bbox
Set the bbox.- Parameters:
bbox
- the bbox- Returns:
- the GetGeoOptions builder
-
bookmark
Set the bookmark.- Parameters:
bookmark
- the bookmark- Returns:
- the GetGeoOptions builder
-
format
Set the format.- Parameters:
format
- the format- Returns:
- the GetGeoOptions builder
-
g
Set the g.- Parameters:
g
- the g- Returns:
- the GetGeoOptions builder
-
includeDocs
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the GetGeoOptions builder
-
lat
Set the lat.- Parameters:
lat
- the lat- Returns:
- the GetGeoOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the GetGeoOptions builder
-
lon
Set the lon.- Parameters:
lon
- the lon- Returns:
- the GetGeoOptions builder
-
nearest
Set the nearest.- Parameters:
nearest
- the nearest- Returns:
- the GetGeoOptions builder
-
radius
Set the radius.- Parameters:
radius
- the radius- Returns:
- the GetGeoOptions builder
-
rangex
Set the rangex.- Parameters:
rangex
- the rangex- Returns:
- the GetGeoOptions builder
-
rangey
Set the rangey.- Parameters:
rangey
- the rangey- Returns:
- the GetGeoOptions builder
-
relation
Set the relation.- Parameters:
relation
- the relation- Returns:
- the GetGeoOptions builder
-
skip
Set the skip.- Parameters:
skip
- the skip- Returns:
- the GetGeoOptions builder
-
stale
Set the stale.- Parameters:
stale
- the stale- Returns:
- the GetGeoOptions builder
-