Package com.google.cloud.hadoop.util
Enum Class HadoopCredentialsConfiguration.AuthenticationType
java.lang.Object
java.lang.Enum<HadoopCredentialsConfiguration.AuthenticationType>
com.google.cloud.hadoop.util.HadoopCredentialsConfiguration.AuthenticationType
- All Implemented Interfaces:
Serializable,Comparable<HadoopCredentialsConfiguration.AuthenticationType>,Constable
- Enclosing class:
- HadoopCredentialsConfiguration
public static enum HadoopCredentialsConfiguration.AuthenticationType
extends Enum<HadoopCredentialsConfiguration.AuthenticationType>
Enumerates all supported authentication types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfiguresAccessTokenProviderauthenticationConfigures Application Default Credentials authenticationConfigures Google Compute Engine service account authenticationConfigures JSON keyfile service account authenticationConfigures unauthenticated accessConfigures user credentials authenticationConfigures workload identity pool key file -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCESS_TOKEN_PROVIDER
ConfiguresAccessTokenProviderauthentication -
APPLICATION_DEFAULT
Configures Application Default Credentials authentication -
COMPUTE_ENGINE
Configures Google Compute Engine service account authentication -
SERVICE_ACCOUNT_JSON_KEYFILE
Configures JSON keyfile service account authentication -
WORKLOAD_IDENTITY_FEDERATION_CREDENTIAL_CONFIG_FILE
public static final HadoopCredentialsConfiguration.AuthenticationType WORKLOAD_IDENTITY_FEDERATION_CREDENTIAL_CONFIG_FILEConfigures workload identity pool key file -
UNAUTHENTICATED
Configures unauthenticated access -
USER_CREDENTIALS
Configures user credentials authentication
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-