Package com.ibm.cloud.cloudant.v1.model
Class GetGeoOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GetGeoOptions.Builder
-
- Enclosing class:
- GetGeoOptions
public static class GetGeoOptions.Builder extends Object
Builder.
-
-
Method Summary
-
-
-
Method Detail
-
build
public GetGeoOptions build()
Builds a GetGeoOptions.- Returns:
- the new GetGeoOptions instance
-
db
public GetGeoOptions.Builder db(String db)
Set the db.- Parameters:
db- the db- Returns:
- the GetGeoOptions builder
-
ddoc
public GetGeoOptions.Builder ddoc(String ddoc)
Set the ddoc.- Parameters:
ddoc- the ddoc- Returns:
- the GetGeoOptions builder
-
index
public GetGeoOptions.Builder index(String index)
Set the index.- Parameters:
index- the index- Returns:
- the GetGeoOptions builder
-
bbox
public GetGeoOptions.Builder bbox(String bbox)
Set the bbox.- Parameters:
bbox- the bbox- Returns:
- the GetGeoOptions builder
-
bookmark
public GetGeoOptions.Builder bookmark(String bookmark)
Set the bookmark.- Parameters:
bookmark- the bookmark- Returns:
- the GetGeoOptions builder
-
format
public GetGeoOptions.Builder format(String format)
Set the format.- Parameters:
format- the format- Returns:
- the GetGeoOptions builder
-
g
public GetGeoOptions.Builder g(String g)
Set the g.- Parameters:
g- the g- Returns:
- the GetGeoOptions builder
-
includeDocs
public GetGeoOptions.Builder includeDocs(Boolean includeDocs)
Set the includeDocs.- Parameters:
includeDocs- the includeDocs- Returns:
- the GetGeoOptions builder
-
lat
public GetGeoOptions.Builder lat(Double lat)
Set the lat.- Parameters:
lat- the lat- Returns:
- the GetGeoOptions builder
-
limit
public GetGeoOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit- the limit- Returns:
- the GetGeoOptions builder
-
lon
public GetGeoOptions.Builder lon(Double lon)
Set the lon.- Parameters:
lon- the lon- Returns:
- the GetGeoOptions builder
-
nearest
public GetGeoOptions.Builder nearest(Boolean nearest)
Set the nearest.- Parameters:
nearest- the nearest- Returns:
- the GetGeoOptions builder
-
radius
public GetGeoOptions.Builder radius(Double radius)
Set the radius.- Parameters:
radius- the radius- Returns:
- the GetGeoOptions builder
-
rangex
public GetGeoOptions.Builder rangex(Double rangex)
Set the rangex.- Parameters:
rangex- the rangex- Returns:
- the GetGeoOptions builder
-
rangey
public GetGeoOptions.Builder rangey(Double rangey)
Set the rangey.- Parameters:
rangey- the rangey- Returns:
- the GetGeoOptions builder
-
relation
public GetGeoOptions.Builder relation(String relation)
Set the relation.- Parameters:
relation- the relation- Returns:
- the GetGeoOptions builder
-
skip
public GetGeoOptions.Builder skip(long skip)
Set the skip.- Parameters:
skip- the skip- Returns:
- the GetGeoOptions builder
-
stale
public GetGeoOptions.Builder stale(String stale)
Set the stale.- Parameters:
stale- the stale- Returns:
- the GetGeoOptions builder
-
-