Class DropDataverseAnalyticsOptions
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions<DropDataverseAnalyticsOptions>
-
- com.couchbase.client.java.manager.analytics.DropDataverseAnalyticsOptions
-
public class DropDataverseAnalyticsOptions extends CommonOptions<DropDataverseAnalyticsOptions>
Allows customizing how an analytics dataverse is dropped.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DropDataverseAnalyticsOptions.Built
-
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DropDataverseAnalyticsOptions.Built
build()
static DropDataverseAnalyticsOptions
dropDataverseAnalyticsOptions()
Creates a new instance with default values.DropDataverseAnalyticsOptions
ignoreIfNotExists(boolean ignore)
Customizes if a non-existing dataverse should throw an exception or not (false by default, so it will throw).-
Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
-
-
-
Method Detail
-
dropDataverseAnalyticsOptions
public static DropDataverseAnalyticsOptions dropDataverseAnalyticsOptions()
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
ignoreIfNotExists
public DropDataverseAnalyticsOptions ignoreIfNotExists(boolean ignore)
Customizes if a non-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 does not exist.- Returns:
- this options class for chaining purposes.
-
build
@Internal public DropDataverseAnalyticsOptions.Built build()
-
-