Enum CouchbaseRemoteAnalyticsLink.EncryptionLevel
- java.lang.Object
-
- java.lang.Enum<CouchbaseRemoteAnalyticsLink.EncryptionLevel>
-
- com.couchbase.client.java.manager.analytics.link.CouchbaseRemoteAnalyticsLink.EncryptionLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<CouchbaseRemoteAnalyticsLink.EncryptionLevel>
- Enclosing class:
- CouchbaseRemoteAnalyticsLink
public static enum CouchbaseRemoteAnalyticsLink.EncryptionLevel extends Enum<CouchbaseRemoteAnalyticsLink.EncryptionLevel>
Security options for remote Couchbase links.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CouchbaseRemoteAnalyticsLink.EncryptionLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static CouchbaseRemoteAnalyticsLink.EncryptionLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.String
wireName()
-
-
-
Enum Constant Detail
-
NONE
public static final CouchbaseRemoteAnalyticsLink.EncryptionLevel NONE
Connect to the remote Couchbase cluster using an unsecured channel. Send the password in plaintext.
-
HALF
public static final CouchbaseRemoteAnalyticsLink.EncryptionLevel HALF
Connect to the remote Couchbase cluster using an unsecured channel. Send the password securely using SASL.
-
FULL
public static final CouchbaseRemoteAnalyticsLink.EncryptionLevel FULL
Connect to the remote Couchbase cluster using a channel secured by TLS. If a password is used, it is sent over the secure channel.Requires specifying the certificate to trust.
-
-
Method Detail
-
values
public static CouchbaseRemoteAnalyticsLink.EncryptionLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CouchbaseRemoteAnalyticsLink.EncryptionLevel c : CouchbaseRemoteAnalyticsLink.EncryptionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CouchbaseRemoteAnalyticsLink.EncryptionLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
wireName
public String wireName()
-
-