public enum SASProtocol extends Enum<SASProtocol>
AccountSASSignatureValues and ServiceSASSignatureValues types.| 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()
for (SASProtocol c : SASProtocol.values()) System.out.println(c);
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.public String toString()
toString in class Enum<SASProtocol>Copyright © 2019 Microsoft Corporation. All rights reserved.