Enum DataEncryptionType
- java.lang.Object
-
- java.lang.Enum<DataEncryptionType>
-
- com.azure.resourcemanager.mysqlflexibleserver.models.DataEncryptionType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataEncryptionType>
public enum DataEncryptionType extends Enum<DataEncryptionType>
Defines values for DataEncryptionType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AZURE_KEY_VAULT
Enum value AzureKeyVault.SYSTEM_MANAGED
Enum value SystemManaged.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataEncryptionType
fromString(String value)
Parses a serialized value to a DataEncryptionType instance.String
toString()
static DataEncryptionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataEncryptionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AZURE_KEY_VAULT
public static final DataEncryptionType AZURE_KEY_VAULT
Enum value AzureKeyVault.
-
SYSTEM_MANAGED
public static final DataEncryptionType SYSTEM_MANAGED
Enum value SystemManaged.
-
-
Method Detail
-
values
public static DataEncryptionType[] 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 (DataEncryptionType c : DataEncryptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataEncryptionType 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
-
fromString
public static DataEncryptionType fromString(String value)
Parses a serialized value to a DataEncryptionType instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed DataEncryptionType object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<DataEncryptionType>
-
-