你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PolicyEnabledState 类

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.cdn.PolicyEnabledState

public final class PolicyEnabledState
extends com.microsoft.rest.ExpandableStringEnum<PolicyEnabledState>

定义 PolicyEnabledState 的值。

字段摘要

修饰符和类型 字段和描述
static final PolicyEnabledState DISABLED

策略启用状态的静态值 Disabled

static final PolicyEnabledState ENABLED

已启用策略状态的静态值 Enabled

构造函数摘要

构造函数 说明
PolicyEnabledState()

方法摘要

修饰符和类型 方法和描述
static PolicyEnabledState fromString(String name)

从其字符串表示形式创建或查找策略启用状态。

static java.util.Collection<PolicyEnabledState> values()

方法继承自 com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

字段详细信息

DISABLED

public static final PolicyEnabledState DISABLED

PolicyEnabledState 的静态值 Disabled。

ENABLED

public static final PolicyEnabledState ENABLED

PolicyEnabledState 的静态值 Enabled。

构造函数详细信息

PolicyEnabledState

public PolicyEnabledState()

方法详细信息

fromString

public static PolicyEnabledState fromString(String name)

从其字符串表示形式创建或查找 PolicyEnabledState。

Parameters:

name - 要查找的名称

Returns:

相应的 PolicyEnabledState

values

public static Collection values()

Returns:

已知 PolicyEnabledState 值

适用于