public static enum KubernetesService.ServiceType extends Enum<KubernetesService.ServiceType>
Enum Constant and Description |
---|
INTERNAL_SERVICE |
REST_SERVICE |
Modifier and Type | Method and Description |
---|---|
static KubernetesService.ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesService.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesService.ServiceType REST_SERVICE
public static final KubernetesService.ServiceType INTERNAL_SERVICE
public static KubernetesService.ServiceType[] values()
for (KubernetesService.ServiceType c : KubernetesService.ServiceType.values()) System.out.println(c);
public static KubernetesService.ServiceType 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 nullCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.