Share via


SubscriptionUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.SubscriptionUpdateParameters

Implements

public final class SubscriptionUpdateParameters
implements JsonSerializable<SubscriptionUpdateParameters>

Properties of the Event Subscription update.

Constructor Summary

Constructor Description
SubscriptionUpdateParameters()

Creates an instance of SubscriptionUpdateParameters 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 SubscriptionUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionUpdateParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SubscriptionUpdateParameters withDeliveryConfiguration(DeliveryConfiguration deliveryConfiguration)

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

SubscriptionUpdateParameters withEventDeliverySchema(DeliverySchema eventDeliverySchema)

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

SubscriptionUpdateParameters withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)

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

SubscriptionUpdateParameters withFiltersConfiguration(FiltersConfiguration filtersConfiguration)

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

Methods inherited from java.lang.Object

Constructor Details

SubscriptionUpdateParameters

public SubscriptionUpdateParameters()

Creates an instance of SubscriptionUpdateParameters 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 SubscriptionUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SubscriptionUpdateParameters.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDeliveryConfiguration

public SubscriptionUpdateParameters 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 SubscriptionUpdateParameters object itself.

withEventDeliverySchema

public SubscriptionUpdateParameters withEventDeliverySchema(DeliverySchema eventDeliverySchema)

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

Parameters:

eventDeliverySchema - the eventDeliverySchema value to set.

Returns:

the SubscriptionUpdateParameters object itself.

withExpirationTimeUtc

public SubscriptionUpdateParameters withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)

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

Parameters:

expirationTimeUtc - the expirationTimeUtc value to set.

Returns:

the SubscriptionUpdateParameters object itself.

withFiltersConfiguration

public SubscriptionUpdateParameters withFiltersConfiguration(FiltersConfiguration filtersConfiguration)

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

Parameters:

filtersConfiguration - the filtersConfiguration value to set.

Returns:

the SubscriptionUpdateParameters object itself.

Applies to