Udostępnij za pośrednictwem


InputSchema Class

public final class InputSchema
extends ExpandableStringEnum<InputSchema>

This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource.

Field Summary

Modifier and Type Field and Description
static final InputSchema CLOUD_EVENT_SCHEMA_V1_0

Static value CloudEventSchemaV1_0 for InputSchema.

static final InputSchema CUSTOM_EVENT_SCHEMA

Static value CustomEventSchema for InputSchema.

static final InputSchema EVENT_GRID_SCHEMA

Static value EventGridSchema for InputSchema.

Constructor Summary

Constructor Description
InputSchema()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InputSchema value.

Method Summary

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

Creates or finds a InputSchema from its string representation.

static Collection<InputSchema> values()

Gets known InputSchema values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLOUD_EVENT_SCHEMA_V1_0

public static final InputSchema CLOUD_EVENT_SCHEMA_V1_0

Static value CloudEventSchemaV1_0 for InputSchema.

CUSTOM_EVENT_SCHEMA

public static final InputSchema CUSTOM_EVENT_SCHEMA

Static value CustomEventSchema for InputSchema.

EVENT_GRID_SCHEMA

public static final InputSchema EVENT_GRID_SCHEMA

Static value EventGridSchema for InputSchema.

Constructor Details

InputSchema

@Deprecated
public InputSchema()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InputSchema value.

Method Details

fromString

public static InputSchema fromString(String name)

Creates or finds a InputSchema from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InputSchema.

values

public static Collection<InputSchema> values()

Gets known InputSchema values.

Returns:

known InputSchema values.

Applies to