Class GetLinksAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<GetLinksAnalyticsOptions>
com.couchbase.client.java.manager.analytics.GetLinksAnalyticsOptions
Allows customizing how the analytics links are loaded.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dataverseName
(String dataverseName) Limits the loading only to the specified dataverse.static GetLinksAnalyticsOptions
Creates a new instance with default values.linkType
(AnalyticsLinkType linkType) Limits the loading to only the specifiedAnalyticsLinkType
.Limits the loading only to the specified name of the link.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
getLinksAnalyticsOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
dataverseName
Limits the loading only to the specified dataverse.- Parameters:
dataverseName
- the name of the dataverse for which the links should be loaded.- Returns:
- this options class for chaining purposes.
-
name
Limits the loading only to the specified name of the link.If this option is set, the
dataverseName(String)
must also be set.- Parameters:
linkName
- the name of the link that should be loaded.- Returns:
- this options class for chaining purposes.
-
linkType
Limits the loading to only the specifiedAnalyticsLinkType
.- Parameters:
linkType
- the type of link that should be loaded.- Returns:
- this options class for chaining purposes.
-
build
-