public static enum CreateZoneDetails.ZoneType extends Enum<CreateZoneDetails.ZoneType> implements BmcEnum
The type of the zone. Must be either PRIMARY
or SECONDARY
. SECONDARY
is only supported for GLOBAL zones.
Modifier and Type | Method and Description |
---|---|
static CreateZoneDetails.ZoneType |
create(String key) |
String |
getValue() |
static CreateZoneDetails.ZoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateZoneDetails.ZoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateZoneDetails.ZoneType Primary
public static final CreateZoneDetails.ZoneType Secondary
public static CreateZoneDetails.ZoneType[] values()
for (CreateZoneDetails.ZoneType c : CreateZoneDetails.ZoneType.values()) System.out.println(c);
public static CreateZoneDetails.ZoneType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CreateZoneDetails.ZoneType create(String key)
Copyright © 2016–2024. All rights reserved.