Enum KubernetesConfigOptions.ServiceExposedType
- java.lang.Object
-
- java.lang.Enum<KubernetesConfigOptions.ServiceExposedType>
-
- org.apache.flink.kubernetes.configuration.KubernetesConfigOptions.ServiceExposedType
-
- All Implemented Interfaces:
Serializable,Comparable<KubernetesConfigOptions.ServiceExposedType>
- Enclosing class:
- KubernetesConfigOptions
public static enum KubernetesConfigOptions.ServiceExposedType extends Enum<KubernetesConfigOptions.ServiceExposedType>
The flink rest service exposed type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClusterIPHeadless_ClusterIPLoadBalancerNodePort
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisClusterIP()Check whether it is ClusterIP type.ServiceTypeserviceType()static KubernetesConfigOptions.ServiceExposedTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KubernetesConfigOptions.ServiceExposedType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ClusterIP
public static final KubernetesConfigOptions.ServiceExposedType ClusterIP
-
NodePort
public static final KubernetesConfigOptions.ServiceExposedType NodePort
-
LoadBalancer
public static final KubernetesConfigOptions.ServiceExposedType LoadBalancer
-
Headless_ClusterIP
public static final KubernetesConfigOptions.ServiceExposedType Headless_ClusterIP
-
-
Method Detail
-
values
public static KubernetesConfigOptions.ServiceExposedType[] 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 (KubernetesConfigOptions.ServiceExposedType c : KubernetesConfigOptions.ServiceExposedType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KubernetesConfigOptions.ServiceExposedType 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
-
serviceType
public ServiceType serviceType()
-
isClusterIP
public boolean isClusterIP()
Check whether it is ClusterIP type.
-
-