EventSubscriptionUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventSubscriptionUpdateParameters
- com.
public final class EventSubscriptionUpdateParameters
Properties of the Event Subscription update.
Constructor | Description | |
---|---|---|
Event |
Modifier and Type | Method and Description |
---|---|
Dead |
dead Get the dead |
Dead |
dead Get the dead |
Delivery |
delivery Get the delivery |
Event |
destination()
Get the destination property: Information about the destination where events have to be delivered for the event subscription. |
Event |
event Get the event |
Offset |
expiration Get the expiration |
Event |
filter()
Get the filter property: Information about the filter for the event subscription. |
List<String> |
labels()
Get the labels property: List of user defined labels. |
Retry |
retry Get the retry |
void |
validate()
Validates the instance. |
Event |
with Set the dead |
Event |
with Set the dead |
Event |
with Set the delivery |
Event |
with Set the destination property: Information about the destination where events have to be delivered for the event subscription. |
Event |
with Set the event |
Event |
with Set the expiration |
Event |
with Set the filter property: Information about the filter for the event subscription. |
Event |
with Set the labels property: List of user defined labels. |
Event |
with Set the retry |
Methods inherited from java.lang.Object
EventSubscriptionUpdateParameters
public EventSubscriptionUpdateParameters()
deadLetterDestination
public DeadLetterDestination deadLetterDestination()
Get the deadLetterDestination property: The DeadLetter destination of the event subscription.
Returns:
deadLetterWithResourceIdentity
public DeadLetterWithResourceIdentity deadLetterWithResourceIdentity()
Get the deadLetterWithResourceIdentity property: 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 the deliveryWithResourceIdentity property: 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 the destination property: Information about the destination where events have to be delivered for the event subscription.
Returns:
eventDeliverySchema
public EventDeliverySchema eventDeliverySchema()
Get the eventDeliverySchema property: The event delivery schema for the event subscription.
Returns:
expirationTimeUtc
public OffsetDateTime expirationTimeUtc()
Get the expirationTimeUtc property: Information about the expiration time for the event subscription.
Returns:
filter
public EventSubscriptionFilter filter()
Get the filter property: Information about the filter for the event subscription.
Returns:
labels
public List
Get the labels property: List of user defined labels.
Returns:
retryPolicy
public RetryPolicy retryPolicy()
Get the retryPolicy property: The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
Returns:
validate
public void validate()
Validates the instance.
withDeadLetterDestination
public EventSubscriptionUpdateParameters withDeadLetterDestination(DeadLetterDestination deadLetterDestination)
Set the deadLetterDestination property: The DeadLetter destination of the event subscription.
Parameters:
Returns:
withDeadLetterWithResourceIdentity
public EventSubscriptionUpdateParameters withDeadLetterWithResourceIdentity(DeadLetterWithResourceIdentity deadLetterWithResourceIdentity)
Set the deadLetterWithResourceIdentity property: 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 the deliveryWithResourceIdentity property: 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 the destination property: Information about the destination where events have to be delivered for the event subscription.
Parameters:
Returns:
withEventDeliverySchema
public EventSubscriptionUpdateParameters withEventDeliverySchema(EventDeliverySchema eventDeliverySchema)
Set the eventDeliverySchema property: The event delivery schema for the event subscription.
Parameters:
Returns:
withExpirationTimeUtc
public EventSubscriptionUpdateParameters withExpirationTimeUtc(OffsetDateTime expirationTimeUtc)
Set the expirationTimeUtc property: Information about the expiration time for the event subscription.
Parameters:
Returns:
withFilter
public EventSubscriptionUpdateParameters withFilter(EventSubscriptionFilter filter)
Set the filter property: Information about the filter for the event subscription.
Parameters:
Returns:
withLabels
public EventSubscriptionUpdateParameters withLabels(List
Set the labels property: List of user defined labels.
Parameters:
Returns:
withRetryPolicy
public EventSubscriptionUpdateParameters withRetryPolicy(RetryPolicy retryPolicy)
Set the retryPolicy property: The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.
Parameters:
Returns:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: