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