Class PutCloudantSecurityConfigurationOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.PutCloudantSecurityConfigurationOptions
All Implemented Interfaces:
ObjectModel

public class PutCloudantSecurityConfigurationOptions extends GenericModel
The putCloudantSecurityConfiguration options.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a PutCloudantSecurityConfigurationOptions builder
    • db

      public String db()
      Gets the db. Path parameter to specify the database name.
      Returns:
      the db
    • cloudant

      public Map<String,List<String>> cloudant()
      Gets the cloudant. Database permissions for Cloudant users and/or API keys.
      Returns:
      the cloudant
    • admins

      public SecurityObject admins()
      Gets the admins. Schema for names and roles to map to a database permission.
      Returns:
      the admins
    • members

      public SecurityObject members()
      Gets the members. Schema for names and roles to map to a database permission.
      Returns:
      the members
    • couchdbAuthOnly

      public Boolean couchdbAuthOnly()
      Gets the couchdbAuthOnly. Manage permissions using the `_users` database only.
      Returns:
      the couchdbAuthOnly