Enum CredentialType
- java.lang.Object
-
- java.lang.Enum<CredentialType>
-
- org.apache.camel.component.azure.storage.blob.CredentialType
-
- All Implemented Interfaces:
Serializable
,Comparable<CredentialType>
public enum CredentialType extends Enum<CredentialType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AZURE_IDENTITY
Includes: Service principal with secret Service principal with certificate username and passwordSHARED_ACCOUNT_KEY
storage shared account keySHARED_KEY_CREDENTIAL
Shared key credential
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CredentialType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHARED_KEY_CREDENTIAL
public static final CredentialType SHARED_KEY_CREDENTIAL
Shared key credential- See Also:
StorageSharedKeyCredential
-
SHARED_ACCOUNT_KEY
public static final CredentialType SHARED_ACCOUNT_KEY
storage shared account key
-
AZURE_IDENTITY
public static final CredentialType AZURE_IDENTITY
Includes:- Service principal with secret
- Service principal with certificate
- username and password
- See Also:
DefaultAzureCredentialBuilder
-
-
Method Detail
-
values
public static CredentialType[] 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 (CredentialType c : CredentialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialType 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
-
-