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