Class SubscriptionValidationResponse
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.SubscriptionValidationResponse
-
public final class SubscriptionValidationResponse extends Object
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
Constructors Constructor Description SubscriptionValidationResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValidationResponse()
Get the validationResponse property: The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.SubscriptionValidationResponse
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.
-
-
-
Method Detail
-
getValidationResponse
public String 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
public SubscriptionValidationResponse 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.- Parameters:
validationResponse
- the validationResponse value to set.- Returns:
- the SubscriptionValidationResponse object itself.
-
-