AdminRuleKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. AdminRuleKind
- com.
- com.
public final class AdminRuleKind
extends ExpandableStringEnum<AdminRuleKind>
Whether the rule is custom or default.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Admin |
CUSTOM
Static value Custom for Admin |
static final
Admin |
DEFAULT
Static value Default for Admin |
Constructor Summary
Constructor | Description |
---|---|
AdminRuleKind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Admin |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Admin |
fromString(String name)
Creates or finds a Admin |
static
Collection<Admin |
values()
Gets known Admin |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CUSTOM
public static final AdminRuleKind CUSTOM
Static value Custom for AdminRuleKind.
DEFAULT
public static final AdminRuleKind DEFAULT
Static value Default for AdminRuleKind.
Constructor Details
AdminRuleKind
@Deprecated
public AdminRuleKind()
Deprecated
Creates a new instance of AdminRuleKind value.
Method Details
fromString
public static AdminRuleKind fromString(String name)
Creates or finds a AdminRuleKind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known AdminRuleKind values.
Returns:
Applies to
Azure SDK for Java