Class SecurityObject

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

public class SecurityObject extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for names and roles to map to a database permission.
  • Method Details

    • newBuilder

      public SecurityObject.Builder newBuilder()
      New builder.
      Returns:
      a SecurityObject builder
    • names

      public List<String> names()
      Gets the names. List of usernames.
      Returns:
      the names
    • roles

      public List<String> roles()
      Gets the roles. List of roles.
      Returns:
      the roles