EventSubscriptionUpdateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. eventgrid. v2020_04_01_preview. EventSubscriptionUpdateParameters
- com.
public class EventSubscriptionUpdateParameters
Properties of the Event Subscription update.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| EventSubscriptionUpdateParameters() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Dead |
deadLetterDestination()
Get the dead letter destination of the event subscription. |
|
Dead |
deadLetterWithResourceIdentity()
Get the dead letter destination of the event subscription. |
|
Delivery |
deliveryWithResourceIdentity()
Get information about the destination where events have to be delivered for the event subscription. |
|
Event |
destination()
Get information about the destination where events have to be delivered for the event subscription. |
|
Event |
eventDeliverySchema()
Get the event delivery schema for the event subscription. |
| org.joda.time.DateTime |
expirationTimeUtc()
Get information about the expiration time for the event subscription. |
|
Event |
filter()
Get information about the filter for the event subscription. |
| java.util.List<java.lang.String> |
labels()
Get list of user defined labels. |
|
Retry |
retryPolicy()
Get the retry policy for events. |
|
Event |
withDeadLetterDestination(DeadLetterDestination deadLetterDestination)
Set the dead letter destination of the event subscription. |
|
Event |
withDeadLetterWithResourceIdentity(DeadLetterWithResourceIdentity deadLetterWithResourceIdentity)
Set the dead letter destination of the event subscription. |
|
Event |
withDeliveryWithResourceIdentity(DeliveryWithResourceIdentity deliveryWithResourceIdentity)
Set information about the destination where events have to be delivered for the event subscription. |
|
Event |
withDestination(EventSubscriptionDestination destination)
Set information about the destination where events have to be delivered for the event subscription. |
|
Event |
withEventDeliverySchema(EventDeliverySchema eventDeliverySchema)
Set the event delivery schema for the event subscription. |
|
Event |
withExpirationTimeUtc(DateTime expirationTimeUtc)
Set information about the expiration time for the event subscription. |
|
Event |
withFilter(EventSubscriptionFilter filter)
Set information about the filter for the event subscription. |
|
Event |
withLabels(List<String> labels)
Set list of user defined labels. |
|
Event |
withRetryPolicy(RetryPolicy retryPolicy)
Set the retry policy for events. |
Methods inherited from java.lang.Object
Constructor Details
EventSubscriptionUpdateParameters
public EventSubscriptionUpdateParameters()
Method Details
deadLetterDestination
public DeadLetterDestination deadLetterDestination()
Get the dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
Returns:
deadLetterWithResourceIdentity
public DeadLetterWithResourceIdentity deadLetterWithResourceIdentity()
Get the dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
Returns:
deliveryWithResourceIdentity
public DeliveryWithResourceIdentity deliveryWithResourceIdentity()
Get information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
Returns:
destination
public EventSubscriptionDestination destination()
Get information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
Returns:
eventDeliverySchema
public EventDeliverySchema eventDeliverySchema()
Get the event delivery schema for the event subscription. Possible values include: 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'.
Returns:
expirationTimeUtc
public DateTime expirationTimeUtc()
Get information about the expiration time for the event subscription.
Returns:
filter
public EventSubscriptionFilter filter()
Get information about the filter for the event subscription.
Returns:
labels
public List<String> labels()
Get list of user defined labels.
Returns:
retryPolicy
public RetryPolicy retryPolicy()
Get the retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
Returns:
withDeadLetterDestination
public EventSubscriptionUpdateParameters withDeadLetterDestination(DeadLetterDestination deadLetterDestination)
Set the dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
Parameters:
Returns:
withDeadLetterWithResourceIdentity
public EventSubscriptionUpdateParameters withDeadLetterWithResourceIdentity(DeadLetterWithResourceIdentity deadLetterWithResourceIdentity)
Set the dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
Parameters:
Returns:
withDeliveryWithResourceIdentity
public EventSubscriptionUpdateParameters withDeliveryWithResourceIdentity(DeliveryWithResourceIdentity deliveryWithResourceIdentity)
Set information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
Parameters:
Returns:
withDestination
public EventSubscriptionUpdateParameters withDestination(EventSubscriptionDestination destination)
Set information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
Parameters:
Returns:
withEventDeliverySchema
public EventSubscriptionUpdateParameters withEventDeliverySchema(EventDeliverySchema eventDeliverySchema)
Set the event delivery schema for the event subscription. Possible values include: 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'.
Parameters:
Returns:
withExpirationTimeUtc
public EventSubscriptionUpdateParameters withExpirationTimeUtc(DateTime expirationTimeUtc)
Set information about the expiration time for the event subscription.
Parameters:
Returns:
withFilter
public EventSubscriptionUpdateParameters withFilter(EventSubscriptionFilter filter)
Set information about the filter for the event subscription.
Parameters:
Returns:
withLabels
public EventSubscriptionUpdateParameters withLabels(List<String> labels)
Set list of user defined labels.
Parameters:
Returns:
withRetryPolicy
public EventSubscriptionUpdateParameters withRetryPolicy(RetryPolicy retryPolicy)
Set the retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
Parameters:
Returns: