DnsSecurityRuleState Class

public final class DnsSecurityRuleState
extends ExpandableStringEnum<DnsSecurityRuleState>

The state of DNS security rule.

Field Summary

Modifier and Type Field and Description
static final DnsSecurityRuleState DISABLED

Static value Disabled for DnsSecurityRuleState.

static final DnsSecurityRuleState ENABLED

Static value Enabled for DnsSecurityRuleState.

Constructor Summary

Constructor Description
DnsSecurityRuleState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DnsSecurityRuleState value.

Method Summary

Modifier and Type Method and Description
static DnsSecurityRuleState fromString(String name)

Creates or finds a DnsSecurityRuleState from its string representation.

static Collection<DnsSecurityRuleState> values()

Gets known DnsSecurityRuleState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final DnsSecurityRuleState DISABLED

Static value Disabled for DnsSecurityRuleState.

ENABLED

public static final DnsSecurityRuleState ENABLED

Static value Enabled for DnsSecurityRuleState.

Constructor Details

DnsSecurityRuleState

@Deprecated
public DnsSecurityRuleState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DnsSecurityRuleState value.

Method Details

fromString

public static DnsSecurityRuleState fromString(String name)

Creates or finds a DnsSecurityRuleState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DnsSecurityRuleState.

values

public static Collection<DnsSecurityRuleState> values()

Gets known DnsSecurityRuleState values.

Returns:

known DnsSecurityRuleState values.

Applies to