Package com.ibm.cloud.cloudant.v1.model
Class GetAllDbsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GetAllDbsOptions.Builder
-
- Enclosing class:
- GetAllDbsOptions
public static class GetAllDbsOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAllDbsOptions
build()
Builds a GetAllDbsOptions.GetAllDbsOptions.Builder
descending(Boolean descending)
Set the descending.GetAllDbsOptions.Builder
endkey(String endkey)
Set the endkey.GetAllDbsOptions.Builder
limit(long limit)
Set the limit.GetAllDbsOptions.Builder
skip(long skip)
Set the skip.GetAllDbsOptions.Builder
startkey(String startkey)
Set the startkey.
-
-
-
Method Detail
-
build
public GetAllDbsOptions build()
Builds a GetAllDbsOptions.- Returns:
- the new GetAllDbsOptions instance
-
descending
public GetAllDbsOptions.Builder descending(Boolean descending)
Set the descending.- Parameters:
descending
- the descending- Returns:
- the GetAllDbsOptions builder
-
endkey
public GetAllDbsOptions.Builder endkey(String endkey)
Set the endkey.- Parameters:
endkey
- the endkey- Returns:
- the GetAllDbsOptions builder
-
limit
public GetAllDbsOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the GetAllDbsOptions builder
-
skip
public GetAllDbsOptions.Builder skip(long skip)
Set the skip.- Parameters:
skip
- the skip- Returns:
- the GetAllDbsOptions builder
-
startkey
public GetAllDbsOptions.Builder startkey(String startkey)
Set the startkey.- Parameters:
startkey
- the startkey- Returns:
- the GetAllDbsOptions builder
-
-