public class CouchbaseRemoteAnalyticsLink extends AnalyticsLink
Modifier and Type | Class and Description |
---|---|
static class |
CouchbaseRemoteAnalyticsLink.EncryptionLevel
Security options for remote Couchbase links.
|
Constructor and Description |
---|
CouchbaseRemoteAnalyticsLink(String name,
String dataverse)
Creates a new Analytics Link to a remote Couchbase cluster.
|
Modifier and Type | Method and Description |
---|---|
String |
certificate()
Returns the certificate when encryption is used.
|
CouchbaseRemoteAnalyticsLink |
certificate(String certificate)
Sets the certificate when encryption is used.
|
String |
clientCertificate()
Returns the client certificate when encryption is used.
|
CouchbaseRemoteAnalyticsLink |
clientCertificate(String clientCertificate)
Sets the client certificate when encryption is used.
|
String |
clientKey()
Returns the client key.
|
CouchbaseRemoteAnalyticsLink |
clientKey(String clientKey)
Sets the client key.
|
CouchbaseRemoteAnalyticsLink.EncryptionLevel |
encryption()
Returns the encryption level for the link to the remote cluster.
|
CouchbaseRemoteAnalyticsLink |
encryption(CouchbaseRemoteAnalyticsLink.EncryptionLevel encryption)
Sets the encryption level for the link to the remote cluster (required).
|
String |
hostname()
Returns the hostname of the remote cluster.
|
CouchbaseRemoteAnalyticsLink |
hostname(String hostname)
Sets the hostname of the remote cluster (required).
|
String |
password()
Sets the password when connecting to the remote cluster.
|
CouchbaseRemoteAnalyticsLink |
password(String password)
Sets the password when connecting to the remote cluster (required).
|
String |
toString() |
AnalyticsLinkType |
type()
Returns the type of the link.
|
String |
username()
Returns the username when connecting to the remote cluster.
|
CouchbaseRemoteAnalyticsLink |
username(String username)
Sets the username when connecting to the remote cluster (required).
|
couchbaseRemote, dataverse, name, s3, toMap
public CouchbaseRemoteAnalyticsLink(String name, String dataverse)
As an alternative to this constructor, AnalyticsLink.couchbaseRemote(String, String)
can be used as well.
Please note that additional parameters are required and must be set on CouchbaseRemoteAnalyticsLink
in order
for the link to work properly.
public AnalyticsLinkType type()
AnalyticsLink
type
in class AnalyticsLink
public String hostname()
public CouchbaseRemoteAnalyticsLink hostname(String hostname)
hostname
- the hostname of the remote cluster.CouchbaseRemoteAnalyticsLink
for chaining purposes.public CouchbaseRemoteAnalyticsLink.EncryptionLevel encryption()
public CouchbaseRemoteAnalyticsLink encryption(CouchbaseRemoteAnalyticsLink.EncryptionLevel encryption)
encryption
- the encryption level for the link to the remote cluster.CouchbaseRemoteAnalyticsLink
for chaining purposes.public String username()
public CouchbaseRemoteAnalyticsLink username(String username)
username
- the username when connecting to the remote cluster.CouchbaseRemoteAnalyticsLink
for chaining purposes.public String password()
public CouchbaseRemoteAnalyticsLink password(String password)
password
- the password when connecting to the remote cluster.CouchbaseRemoteAnalyticsLink
for chaining purposes.public String certificate()
public CouchbaseRemoteAnalyticsLink certificate(String certificate)
certificate
- the certificate when encryption is used.CouchbaseRemoteAnalyticsLink
for chaining purposes.public String clientCertificate()
public CouchbaseRemoteAnalyticsLink clientCertificate(String clientCertificate)
clientCertificate
- the client certificate when encryption is used.CouchbaseRemoteAnalyticsLink
for chaining purposes.public String clientKey()
public CouchbaseRemoteAnalyticsLink clientKey(String clientKey)
clientKey
- the client key.CouchbaseRemoteAnalyticsLink
for chaining purposes.Copyright © 2024 Couchbase, Inc.. All rights reserved.