CorsRuleAllowedMethodsItem Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. storage. models. CorsRuleAllowedMethodsItem
- com.
- com.
public final class CorsRuleAllowedMethodsItem
extends ExpandableStringEnum<CorsRuleAllowedMethodsItem>
Defines values for CorsRuleAllowedMethodsItem.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Cors |
CONNECT
Static value CONNECT for Cors |
static final
Cors |
DELETE
Static value DELETE for Cors |
static final
Cors |
GET
Static value GET for Cors |
static final
Cors |
HEAD
Static value HEAD for Cors |
static final
Cors |
MERGE
Static value MERGE for Cors |
static final
Cors |
OPTIONS
Static value OPTIONS for Cors |
static final
Cors |
PATCH
Static value PATCH for Cors |
static final
Cors |
POST
Static value POST for Cors |
static final
Cors |
PUT
Static value PUT for Cors |
static final
Cors |
TRACE
Static value TRACE for Cors |
Constructor Summary
Constructor | Description |
---|---|
CorsRuleAllowedMethodsItem() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Cors |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cors |
fromString(String name)
Creates or finds a Cors |
static
Collection<Cors |
values()
Gets known Cors |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONNECT
public static final CorsRuleAllowedMethodsItem CONNECT
Static value CONNECT for CorsRuleAllowedMethodsItem.
DELETE
public static final CorsRuleAllowedMethodsItem DELETE
Static value DELETE for CorsRuleAllowedMethodsItem.
GET
public static final CorsRuleAllowedMethodsItem GET
Static value GET for CorsRuleAllowedMethodsItem.
HEAD
public static final CorsRuleAllowedMethodsItem HEAD
Static value HEAD for CorsRuleAllowedMethodsItem.
MERGE
public static final CorsRuleAllowedMethodsItem MERGE
Static value MERGE for CorsRuleAllowedMethodsItem.
OPTIONS
public static final CorsRuleAllowedMethodsItem OPTIONS
Static value OPTIONS for CorsRuleAllowedMethodsItem.
PATCH
public static final CorsRuleAllowedMethodsItem PATCH
Static value PATCH for CorsRuleAllowedMethodsItem.
POST
public static final CorsRuleAllowedMethodsItem POST
Static value POST for CorsRuleAllowedMethodsItem.
PUT
public static final CorsRuleAllowedMethodsItem PUT
Static value PUT for CorsRuleAllowedMethodsItem.
TRACE
public static final CorsRuleAllowedMethodsItem TRACE
Static value TRACE for CorsRuleAllowedMethodsItem.
Constructor Details
CorsRuleAllowedMethodsItem
@Deprecated
public CorsRuleAllowedMethodsItem()
Deprecated
Creates a new instance of CorsRuleAllowedMethodsItem value.
Method Details
fromString
public static CorsRuleAllowedMethodsItem fromString(String name)
Creates or finds a CorsRuleAllowedMethodsItem from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known CorsRuleAllowedMethodsItem values.
Returns:
Applies to
Azure SDK for Java