NetworkPlugin Class

public final class NetworkPlugin
extends ExpandableStringEnum<NetworkPlugin>

Network plugin used for building the Kubernetes network.

Field Summary

Modifier and Type Field and Description
static final NetworkPlugin AZURE

Static value azure for NetworkPlugin.

static final NetworkPlugin KUBENET

Static value kubenet for NetworkPlugin.

static final NetworkPlugin NONE

Static value none for NetworkPlugin.

Constructor Summary

Constructor Description
NetworkPlugin()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkPlugin value.

Method Summary

Modifier and Type Method and Description
static NetworkPlugin fromString(String name)

Creates or finds a NetworkPlugin from its string representation.

static Collection<NetworkPlugin> values()

Gets known NetworkPlugin values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE

public static final NetworkPlugin AZURE

Static value azure for NetworkPlugin.

KUBENET

public static final NetworkPlugin KUBENET

Static value kubenet for NetworkPlugin.

NONE

public static final NetworkPlugin NONE

Static value none for NetworkPlugin.

Constructor Details

NetworkPlugin

@Deprecated
public NetworkPlugin()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkPlugin value.

Method Details

fromString

public static NetworkPlugin fromString(String name)

Creates or finds a NetworkPlugin from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NetworkPlugin.

values

public static Collection values()

Gets known NetworkPlugin values.

Returns:

known NetworkPlugin values.

Applies to