Class SubscriptionValidationResponse
java.lang.Object
com.azure.messaging.eventgrid.systemevents.SubscriptionValidationResponse
To complete an event subscription validation handshake, a subscriber can use either the validationCode or the
validationUrl received in a SubscriptionValidationEvent. When the validationCode is used, the
SubscriptionValidationResponse can be used to build the response.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the validationResponse property: The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.setValidationResponse
(String validationResponse) Set the validationResponse property: The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.
-
Constructor Details
-
SubscriptionValidationResponse
public SubscriptionValidationResponse()
-
-
Method Details
-
getValidationResponse
Get the validationResponse property: The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.- Returns:
- the validationResponse value.
-
setValidationResponse
Set the validationResponse property: The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.- Parameters:
validationResponse
- the validationResponse value to set.- Returns:
- the SubscriptionValidationResponse object itself.
-