SubscriptionUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. SubscriptionUpdateParameters
- com.
Implements
public final class SubscriptionUpdateParameters
implements JsonSerializable<SubscriptionUpdateParameters>
Properties of the Event Subscription update.
Constructor Summary
| Constructor | Description |
|---|---|
| SubscriptionUpdateParameters() |
Creates an instance of Subscription |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Delivery |
deliveryConfiguration()
Get the delivery |
|
Delivery |
eventDeliverySchema()
Get the event |
|
Offset |
expirationTimeUtc()
Get the expiration |
|
Filters |
filtersConfiguration()
Get the filters |
|
static
Subscription |
fromJson(JsonReader jsonReader)
Reads an instance of Subscription |
| Map<String,String> |
tags()
Get the tags property: Tags relating to Event Subscription resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Subscription |
withDeliveryConfiguration(DeliveryConfiguration deliveryConfiguration)
Set the delivery |
|
Subscription |
withEventDeliverySchema(DeliverySchema eventDeliverySchema)
Set the event |
|
Subscription |
withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)
Set the expiration |
|
Subscription |
withFiltersConfiguration(FiltersConfiguration filtersConfiguration)
Set the filters |
|
Subscription |
withTags(Map<String,String> tags)
Set the tags property: Tags relating to Event Subscription resource. |
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:
eventDeliverySchema
public DeliverySchema eventDeliverySchema()
Get the eventDeliverySchema property: The event delivery schema for the event subscription.
Returns:
expirationTimeUtc
public OffsetDateTime expirationTimeUtc()
Get the expirationTimeUtc property: Expiration time of the event subscription.
Returns:
filtersConfiguration
public FiltersConfiguration filtersConfiguration()
Get the filtersConfiguration property: Information about the filter for the event subscription.
Returns:
fromJson
public static SubscriptionUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
tags
public Map<String,String> tags()
Get the tags property: Tags relating to Event Subscription resource.
Returns:
toJson
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:
Returns:
withEventDeliverySchema
public SubscriptionUpdateParameters withEventDeliverySchema(DeliverySchema eventDeliverySchema)
Set the eventDeliverySchema property: The event delivery schema for the event subscription.
Parameters:
Returns:
withExpirationTimeUtc
public SubscriptionUpdateParameters withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)
Set the expirationTimeUtc property: Expiration time of the event subscription.
Parameters:
Returns:
withFiltersConfiguration
public SubscriptionUpdateParameters withFiltersConfiguration(FiltersConfiguration filtersConfiguration)
Set the filtersConfiguration property: Information about the filter for the event subscription.
Parameters:
Returns:
withTags
public SubscriptionUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Tags relating to Event Subscription resource.
Parameters:
Returns: