public enum NetworkOfferingAvailabilityType extends Enum<NetworkOfferingAvailabilityType>
Enum Constant and Description |
---|
DEFAULT |
OPTIONAL |
REQUIRED |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static NetworkOfferingAvailabilityType |
fromValue(String type) |
String |
toString() |
static NetworkOfferingAvailabilityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkOfferingAvailabilityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkOfferingAvailabilityType DEFAULT
public static final NetworkOfferingAvailabilityType REQUIRED
public static final NetworkOfferingAvailabilityType OPTIONAL
public static final NetworkOfferingAvailabilityType UNRECOGNIZED
public static NetworkOfferingAvailabilityType[] values()
for (NetworkOfferingAvailabilityType c : NetworkOfferingAvailabilityType.values()) System.out.println(c);
public static NetworkOfferingAvailabilityType 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 String toString()
toString
in class Enum<NetworkOfferingAvailabilityType>
public static NetworkOfferingAvailabilityType fromValue(String type)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.