Class CreateDataverseAnalyticsOptions

java.lang.Object
com.couchbase.client.java.CommonOptions<CreateDataverseAnalyticsOptions>
com.couchbase.client.java.manager.analytics.CreateDataverseAnalyticsOptions

public class CreateDataverseAnalyticsOptions extends CommonOptions<CreateDataverseAnalyticsOptions>
Allows customizing how an analytics dataverse is created.
  • Method Details

    • createDataverseAnalyticsOptions

      public static CreateDataverseAnalyticsOptions createDataverseAnalyticsOptions()
      Creates a new instance with default values.
      Returns:
      the instantiated default options.
    • ignoreIfExists

      public CreateDataverseAnalyticsOptions ignoreIfExists(boolean ignore)
      Customizes if an already existing dataverse should throw an exception or not (false by default, so it will throw).
      Parameters:
      ignore - true if no exception should be raised if the dataverse already exists.
      Returns:
      this options class for chaining purposes.
    • build