public enum ServiceInstanceType extends Enum<ServiceInstanceType>
| Enum Constant and Description |
|---|
MANAGED |
USER_PROVIDED |
| Modifier and Type | Method and Description |
|---|---|
static ServiceInstanceType |
from(String s) |
String |
getValue() |
String |
toString() |
static ServiceInstanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceInstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceInstanceType MANAGED
public static final ServiceInstanceType USER_PROVIDED
public static ServiceInstanceType[] values()
for (ServiceInstanceType c : ServiceInstanceType.values()) System.out.println(c);
public static ServiceInstanceType 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 ServiceInstanceType from(String s)
public String getValue()
public String toString()
toString in class Enum<ServiceInstanceType>Copyright © 2017 Pivotal Software, Inc.. All rights reserved.