DestinationPortBehavior Class

public final class DestinationPortBehavior
extends ExpandableStringEnum<DestinationPortBehavior>

Destination port behavior.

Field Summary

Modifier and Type Field and Description
static final DestinationPortBehavior LISTEN_IF_AVAILABLE

Static value ListenIfAvailable for DestinationPortBehavior.

static final DestinationPortBehavior NONE

Static value None for DestinationPortBehavior.

Constructor Summary

Constructor Description
DestinationPortBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DestinationPortBehavior value.

Method Summary

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

Creates or finds a DestinationPortBehavior from its string representation.

static Collection<DestinationPortBehavior> values()

Gets known DestinationPortBehavior values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LISTEN_IF_AVAILABLE

public static final DestinationPortBehavior LISTEN_IF_AVAILABLE

Static value ListenIfAvailable for DestinationPortBehavior.

NONE

public static final DestinationPortBehavior NONE

Static value None for DestinationPortBehavior.

Constructor Details

DestinationPortBehavior

@Deprecated
public DestinationPortBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DestinationPortBehavior value.

Method Details

fromString

public static DestinationPortBehavior fromString(String name)

Creates or finds a DestinationPortBehavior from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DestinationPortBehavior.

values

public static Collection values()

Gets known DestinationPortBehavior values.

Returns:

known DestinationPortBehavior values.

Applies to