次の方法で共有


DeliverySchema Class

public final class DeliverySchema
extends ExpandableStringEnum<DeliverySchema>

The event delivery schema for the event subscription.

Field Summary

Modifier and Type Field and Description
static final DeliverySchema CLOUD_EVENT_SCHEMA_V1_0

Static value CloudEventSchemaV1_0 for DeliverySchema.

Constructor Summary

Constructor Description
DeliverySchema()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeliverySchema value.

Method Summary

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

Creates or finds a DeliverySchema from its string representation.

static Collection<DeliverySchema> values()

Gets known DeliverySchema values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLOUD_EVENT_SCHEMA_V1_0

public static final DeliverySchema CLOUD_EVENT_SCHEMA_V1_0

Static value CloudEventSchemaV1_0 for DeliverySchema.

Constructor Details

DeliverySchema

@Deprecated
public DeliverySchema()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeliverySchema value.

Method Details

fromString

public static DeliverySchema fromString(String name)

Creates or finds a DeliverySchema from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DeliverySchema.

values

public static Collection<DeliverySchema> values()

Gets known DeliverySchema values.

Returns:

known DeliverySchema values.

Applies to