Class Security.Builder

java.lang.Object
com.ibm.cloud.cloudant.v1.model.Security.Builder
Enclosing class:
Security

public static class Security.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public Security build()
      Builds a Security.
      Returns:
      the new Security instance
    • admins

      public Security.Builder admins(SecurityObject admins)
      Set the admins.
      Parameters:
      admins - the admins
      Returns:
      the Security builder
    • members

      public Security.Builder members(SecurityObject members)
      Set the members.
      Parameters:
      members - the members
      Returns:
      the Security builder
    • cloudant

      public Security.Builder cloudant(Map<String,List<String>> cloudant)
      Set the cloudant.
      Parameters:
      cloudant - the cloudant
      Returns:
      the Security builder
    • couchdbAuthOnly

      public Security.Builder couchdbAuthOnly(Boolean couchdbAuthOnly)
      Set the couchdbAuthOnly.
      Parameters:
      couchdbAuthOnly - the couchdbAuthOnly
      Returns:
      the Security builder