Package com.ibm.cloud.cloudant.v1.model
Class Security.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.Security.Builder
- Enclosing class:
Security
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadmins
(SecurityObject admins) Set the admins.build()
Builds a Security.Set the cloudant.couchdbAuthOnly
(Boolean couchdbAuthOnly) Set the couchdbAuthOnly.members
(SecurityObject members) Set the members.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Security.- Returns:
- the new Security instance
-
admins
Set the admins.- Parameters:
admins
- the admins- Returns:
- the Security builder
-
members
Set the members.- Parameters:
members
- the members- Returns:
- the Security builder
-
cloudant
Set the cloudant.- Parameters:
cloudant
- the cloudant- Returns:
- the Security builder
-
couchdbAuthOnly
Set the couchdbAuthOnly.- Parameters:
couchdbAuthOnly
- the couchdbAuthOnly- Returns:
- the Security builder
-