Class ConnectLinkAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<ConnectLinkAnalyticsOptions>
com.couchbase.client.java.manager.analytics.ConnectLinkAnalyticsOptions
Customizes how a analytics link is connected.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.couchbase.client.java.CommonOptionsCommonOptions.BuiltCommonOptions
- 
Method SummaryModifier and TypeMethodDescriptionbuild()static ConnectLinkAnalyticsOptionsCreates a new instance with default values.dataverseName(String dataverseName) Sets the name of the dataverse in which the link should be connected.force(boolean force) Customizes if connect link should be forced or not.Sets the name of the link which should be connected.Methods inherited from class com.couchbase.client.java.CommonOptionsclientContext, parentSpan, retryStrategy, self, timeout
- 
Method Details- 
connectLinkAnalyticsOptionsCreates a new instance with default values.- Returns:
- the instantiated default options.
 
- 
dataverseNameSets the name of the dataverse in which the link should be connected.- Parameters:
- dataverseName- the name of the dataverse.
- Returns:
- this ConnectLinkAnalyticsOptionsfor chaining purposes.
 
- 
linkNameSets the name of the link which should be connected.- Parameters:
- linkName- the name of the link.
- Returns:
- this ConnectLinkAnalyticsOptionsfor chaining purposes.
 
- 
forceCustomizes if connect link should be forced or not.Determines the behavior of CONNECT LINK if there has been a change in the bucket’s UUID, i.e. the bucket has been deleted and recreated with the same name. - If force is false, then CONNECT LINK fails. This is the default behavior.
- If force is true, CONNECT LINK proceeds: Analytics deletes all existing data in the dataset and ingests all data from the bucket again.
 
- 
build
 
-