SubscriptionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventgrid. fluent. models. SubscriptionInner
- com.
- com.
public final class SubscriptionInner
extends ProxyResource
Event Subscription.
Constructor Summary
| Constructor | Description |
|---|---|
| SubscriptionInner() |
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 |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Subscription |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Tags relating to Event Subscription resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 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:
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 SubscriptionInner fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SubscriptionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SubscriptionInner.name()Returns:
provisioningState
public SubscriptionProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the event subscription.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tags relating to Event Subscription resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SubscriptionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SubscriptionInner.type()Returns:
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:
Returns:
withEventDeliverySchema
public SubscriptionInner withEventDeliverySchema(DeliverySchema eventDeliverySchema)
Set the eventDeliverySchema property: The event delivery schema for the event subscription.
Parameters:
Returns:
withExpirationTimeUtc
public SubscriptionInner withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)
Set the expirationTimeUtc property: Expiration time of the event subscription.
Parameters:
Returns:
withFiltersConfiguration
public SubscriptionInner withFiltersConfiguration(FiltersConfiguration filtersConfiguration)
Set the filtersConfiguration property: Information about the filter for the event subscription.
Parameters:
Returns:
withTags
public SubscriptionInner withTags(Map<String,String> tags)
Set the tags property: Tags relating to Event Subscription resource.
Parameters:
Returns: