Class PutDatabaseOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder(String db)
      Instantiates a new builder with required properties.
      Parameters:
      db - the db
  • Method Details

    • build

      public PutDatabaseOptions build()
      Builds a PutDatabaseOptions.
      Returns:
      the new PutDatabaseOptions instance
    • db

      Set the db.
      Parameters:
      db - the db
      Returns:
      the PutDatabaseOptions builder
    • partitioned

      public PutDatabaseOptions.Builder partitioned(Boolean partitioned)
      Set the partitioned.
      Parameters:
      partitioned - the partitioned
      Returns:
      the PutDatabaseOptions builder
    • q

      public PutDatabaseOptions.Builder q(long q)
      Set the q.
      Parameters:
      q - the q
      Returns:
      the PutDatabaseOptions builder