次の方法で共有


DnsZoneType Class

public final class DnsZoneType
extends ExpandableStringEnum<DnsZoneType>

The type of DNS zone.

Field Summary

Modifier and Type Field and Description
static final DnsZoneType PRIVATE

Private DNS zone.

static final DnsZoneType PUBLIC

Primary DNS zone.

Constructor Summary

Constructor Description
DnsZoneType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DnsZoneType value.

Method Summary

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

Creates or finds a DnsZoneType from its string representation.

static Collection<DnsZoneType> values()

Gets known DnsZoneType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIVATE

public static final DnsZoneType PRIVATE

Private DNS zone.

PUBLIC

public static final DnsZoneType PUBLIC

Primary DNS zone.

Constructor Details

DnsZoneType

@Deprecated
public DnsZoneType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DnsZoneType value.

Method Details

fromString

public static DnsZoneType fromString(String name)

Creates or finds a DnsZoneType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DnsZoneType.

values

public static Collection<DnsZoneType> values()

Gets known DnsZoneType values.

Returns:

known DnsZoneType values.

Applies to