Partager via


NetworkIntentPolicyBasedService Class

public final class NetworkIntentPolicyBasedService
extends ExpandableStringEnum<NetworkIntentPolicyBasedService>

Network intent policy based services.

Field Summary

Modifier and Type Field and Description
static final NetworkIntentPolicyBasedService ALL

Static value All for NetworkIntentPolicyBasedService.

static final NetworkIntentPolicyBasedService ALLOW_RULES_ONLY

Static value AllowRulesOnly for NetworkIntentPolicyBasedService.

static final NetworkIntentPolicyBasedService NONE

Static value None for NetworkIntentPolicyBasedService.

Constructor Summary

Constructor Description
NetworkIntentPolicyBasedService()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkIntentPolicyBasedService value.

Method Summary

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

Creates or finds a NetworkIntentPolicyBasedService from its string representation.

static Collection<NetworkIntentPolicyBasedService> values()

Gets known NetworkIntentPolicyBasedService values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final NetworkIntentPolicyBasedService ALL

Static value All for NetworkIntentPolicyBasedService.

ALLOW_RULES_ONLY

public static final NetworkIntentPolicyBasedService ALLOW_RULES_ONLY

Static value AllowRulesOnly for NetworkIntentPolicyBasedService.

NONE

public static final NetworkIntentPolicyBasedService NONE

Static value None for NetworkIntentPolicyBasedService.

Constructor Details

NetworkIntentPolicyBasedService

@Deprecated
public NetworkIntentPolicyBasedService()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkIntentPolicyBasedService value.

Method Details

fromString

public static NetworkIntentPolicyBasedService fromString(String name)

Creates or finds a NetworkIntentPolicyBasedService from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NetworkIntentPolicyBasedService.

values

public static Collection values()

Gets known NetworkIntentPolicyBasedService values.

Returns:

known NetworkIntentPolicyBasedService values.

Applies to