Enum CreateClusterKubeconfigContentDetails.Endpoint
- java.lang.Object
-
- java.lang.Enum<CreateClusterKubeconfigContentDetails.Endpoint>
-
- com.oracle.bmc.containerengine.model.CreateClusterKubeconfigContentDetails.Endpoint
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateClusterKubeconfigContentDetails.Endpoint>
- Enclosing class:
- CreateClusterKubeconfigContentDetails
public static enum CreateClusterKubeconfigContentDetails.Endpoint extends Enum<CreateClusterKubeconfigContentDetails.Endpoint> implements BmcEnum
The endpoint to target.A cluster may have multiple endpoints exposed but the kubeconfig can only target one at a time.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LegacyKubernetes
PrivateEndpoint
PublicEndpoint
VcnHostname
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateClusterKubeconfigContentDetails.Endpoint
create(String key)
String
getValue()
static CreateClusterKubeconfigContentDetails.Endpoint
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateClusterKubeconfigContentDetails.Endpoint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LegacyKubernetes
public static final CreateClusterKubeconfigContentDetails.Endpoint LegacyKubernetes
-
PublicEndpoint
public static final CreateClusterKubeconfigContentDetails.Endpoint PublicEndpoint
-
PrivateEndpoint
public static final CreateClusterKubeconfigContentDetails.Endpoint PrivateEndpoint
-
VcnHostname
public static final CreateClusterKubeconfigContentDetails.Endpoint VcnHostname
-
-
Method Detail
-
values
public static CreateClusterKubeconfigContentDetails.Endpoint[] 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 (CreateClusterKubeconfigContentDetails.Endpoint c : CreateClusterKubeconfigContentDetails.Endpoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateClusterKubeconfigContentDetails.Endpoint 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
-
create
public static CreateClusterKubeconfigContentDetails.Endpoint create(String key)
-
-