次の方法で共有


SubscriptionInner Class

public final class SubscriptionInner
extends ProxyResource

Event Subscription.

Constructor Summary

Constructor Description
SubscriptionInner()

Creates an instance of SubscriptionInner class.

Method Summary

Modifier and Type Method and Description
DeliveryConfiguration deliveryConfiguration()

Get the deliveryConfiguration property: Information about the delivery configuration of the event subscription.

DeliverySchema eventDeliverySchema()

Get the eventDeliverySchema property: The event delivery schema for the event subscription.

OffsetDateTime expirationTimeUtc()

Get the expirationTimeUtc property: Expiration time of the event subscription.

FiltersConfiguration filtersConfiguration()

Get the filtersConfiguration property: Information about the filter for the event subscription.

static SubscriptionInner fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SubscriptionProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the event subscription.

SystemData systemData()

Get the systemData property: The system metadata relating to the Event Grid resource.

Map<String,String> tags()

Get the tags property: Tags relating to Event Subscription resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SubscriptionInner withDeliveryConfiguration(DeliveryConfiguration deliveryConfiguration)

Set the deliveryConfiguration property: Information about the delivery configuration of the event subscription.

SubscriptionInner withEventDeliverySchema(DeliverySchema eventDeliverySchema)

Set the eventDeliverySchema property: The event delivery schema for the event subscription.

SubscriptionInner withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)

Set the expirationTimeUtc property: Expiration time of the event subscription.

SubscriptionInner withFiltersConfiguration(FiltersConfiguration filtersConfiguration)

Set the filtersConfiguration property: Information about the filter for the event subscription.

SubscriptionInner withTags(Map<String,String> tags)

Set the tags property: Tags relating to Event Subscription resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SubscriptionInner

public SubscriptionInner()

Creates an instance of SubscriptionInner class.

Method Details

deliveryConfiguration

public DeliveryConfiguration deliveryConfiguration()

Get the deliveryConfiguration property: Information about the delivery configuration of the event subscription.

Returns:

the deliveryConfiguration value.

eventDeliverySchema

public DeliverySchema eventDeliverySchema()

Get the eventDeliverySchema property: The event delivery schema for the event subscription.

Returns:

the eventDeliverySchema value.

expirationTimeUtc

public OffsetDateTime expirationTimeUtc()

Get the expirationTimeUtc property: Expiration time of the event subscription.

Returns:

the expirationTimeUtc value.

filtersConfiguration

public FiltersConfiguration filtersConfiguration()

Get the filtersConfiguration property: Information about the filter for the event subscription.

Returns:

the filtersConfiguration value.

fromJson

public static SubscriptionInner fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SubscriptionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SubscriptionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SubscriptionInner.name()

Returns:

the name value.

provisioningState

public SubscriptionProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the event subscription.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata relating to the Event Grid resource.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Tags relating to Event Subscription resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SubscriptionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SubscriptionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDeliveryConfiguration

public SubscriptionInner withDeliveryConfiguration(DeliveryConfiguration deliveryConfiguration)

Set the deliveryConfiguration property: Information about the delivery configuration of the event subscription.

Parameters:

deliveryConfiguration - the deliveryConfiguration value to set.

Returns:

the SubscriptionInner object itself.

withEventDeliverySchema

public SubscriptionInner withEventDeliverySchema(DeliverySchema eventDeliverySchema)

Set the eventDeliverySchema property: The event delivery schema for the event subscription.

Parameters:

eventDeliverySchema - the eventDeliverySchema value to set.

Returns:

the SubscriptionInner object itself.

withExpirationTimeUtc

public SubscriptionInner withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)

Set the expirationTimeUtc property: Expiration time of the event subscription.

Parameters:

expirationTimeUtc - the expirationTimeUtc value to set.

Returns:

the SubscriptionInner object itself.

withFiltersConfiguration

public SubscriptionInner withFiltersConfiguration(FiltersConfiguration filtersConfiguration)

Set the filtersConfiguration property: Information about the filter for the event subscription.

Parameters:

filtersConfiguration - the filtersConfiguration value to set.

Returns:

the SubscriptionInner object itself.

withTags

public SubscriptionInner withTags(Map<String,String> tags)

Set the tags property: Tags relating to Event Subscription resource.

Parameters:

tags - the tags value to set.

Returns:

the SubscriptionInner object itself.

Applies to