public enum SasProtocol extends Enum<SasProtocol>
| Enum Constant and Description |
|---|
HTTPS_HTTP
Permission to use SAS only through https or http granted.
|
HTTPS_ONLY
Permission to use SAS only through https granted.
|
| Modifier and Type | Method and Description |
|---|---|
static SasProtocol |
parse(String str)
Parses a
String into a SASProtocl value if possible. |
String |
toString() |
static SasProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SasProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SasProtocol HTTPS_ONLY
public static final SasProtocol HTTPS_HTTP
public static SasProtocol[] values()
public static SasProtocol valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SasProtocol parse(String str)
String into a SASProtocl value if possible.str - The value to try to parse.SasProtocol value that represents the string if possible.IllegalArgumentException - If str doesn't equal "https" or "https,http"public String toString()
toString in class Enum<SasProtocol>Copyright © 2020 Microsoft Corporation. All rights reserved.