Class PutSecurityOptions

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

public class PutSecurityOptions extends GenericModel
The putSecurity options.
  • Method Details

    • newBuilder

      public PutSecurityOptions.Builder newBuilder()
      New builder.
      Returns:
      a PutSecurityOptions builder
    • db

      public String db()
      Gets the db. Path parameter to specify the database name.
      Returns:
      the db
    • 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
    • cloudant

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

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