Enum K8sConstants.Plan
- java.lang.Object
-
- java.lang.Enum<K8sConstants.Plan>
-
- com.sap.cloud.security.config.k8s.K8sConstants.Plan
-
- All Implemented Interfaces:
Serializable
,Comparable<K8sConstants.Plan>
- Enclosing class:
- K8sConstants
public static enum K8sConstants.Plan extends Enum<K8sConstants.Plan>
Represents the service plans available in Kyma Service Catalog. The various plans are considered inK8sEnvironment
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CFConstants.Plan
from(String planAsString)
static K8sConstants.Plan
valueOf(String name)
Returns the enum constant of this type with the specified name.static K8sConstants.Plan[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final K8sConstants.Plan DEFAULT
-
BROKER
public static final K8sConstants.Plan BROKER
-
APPLICATION
public static final K8sConstants.Plan APPLICATION
-
SPACE
public static final K8sConstants.Plan SPACE
-
APIACCESS
public static final K8sConstants.Plan APIACCESS
-
SYSTEM
public static final K8sConstants.Plan SYSTEM
-
-
Method Detail
-
values
public static K8sConstants.Plan[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (K8sConstants.Plan c : K8sConstants.Plan.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static K8sConstants.Plan valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
public static CFConstants.Plan from(String planAsString)
-
-