EndpointType Class

public final class EndpointType
extends ExpandableStringEnum<EndpointType>

The type of Digital Twins endpoint.

Field Summary

Modifier and Type Field and Description
static final EndpointType EVENT_GRID

Static value EventGrid for EndpointType.

static final EndpointType EVENT_HUB

Static value EventHub for EndpointType.

static final EndpointType SERVICE_BUS

Static value ServiceBus for EndpointType.

Constructor Summary

Constructor Description
EndpointType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EndpointType value.

Method Summary

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

Creates or finds a EndpointType from its string representation.

static Collection<EndpointType> values()

Gets known EndpointType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EVENT_GRID

public static final EndpointType EVENT_GRID

Static value EventGrid for EndpointType.

EVENT_HUB

public static final EndpointType EVENT_HUB

Static value EventHub for EndpointType.

SERVICE_BUS

public static final EndpointType SERVICE_BUS

Static value ServiceBus for EndpointType.

Constructor Details

EndpointType

@Deprecated
public EndpointType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EndpointType value.

Method Details

fromString

public static EndpointType fromString(String name)

Creates or finds a EndpointType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EndpointType.

values

public static Collection<EndpointType> values()

Gets known EndpointType values.

Returns:

known EndpointType values.

Applies to