Share via


InboundEndpointProtocol Class

public final class InboundEndpointProtocol
extends ExpandableStringEnum<InboundEndpointProtocol>

InboundEndpointProtocol enums.

Field Summary

Modifier and Type Field and Description
static final InboundEndpointProtocol TCP

Use TCP for the endpoint.

static final InboundEndpointProtocol UDP

Use UDP for the endpoint.

Constructor Summary

Constructor Description
InboundEndpointProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InboundEndpointProtocol value.

Method Summary

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

Creates or finds a InboundEndpointProtocol from its string representation.

static Collection<InboundEndpointProtocol> values()

Gets known InboundEndpointProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

TCP

public static final InboundEndpointProtocol TCP

Use TCP for the endpoint.

UDP

public static final InboundEndpointProtocol UDP

Use UDP for the endpoint.

Constructor Details

InboundEndpointProtocol

@Deprecated
public InboundEndpointProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InboundEndpointProtocol value.

Method Details

fromString

public static InboundEndpointProtocol fromString(String name)

Creates or finds a InboundEndpointProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InboundEndpointProtocol.

values

public static Collection<InboundEndpointProtocol> values()

Gets known InboundEndpointProtocol values.

Returns:

known InboundEndpointProtocol values.

Applies to