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