WebhookPartnerDestinationInfo Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. PartnerDestinationInfo - com.
azure. resourcemanager. eventgrid. models. WebhookPartnerDestinationInfo
- com.
- com.
public final class WebhookPartnerDestinationInfo
extends PartnerDestinationInfo
Information about the WebHook of the partner destination.
Constructor Summary
| Constructor | Description |
|---|---|
| WebhookPartnerDestinationInfo() |
Creates an instance of Webhook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Partner |
clientAuthentication()
Get the client |
| String |
endpointBaseUrl()
Get the endpoint |
|
Partner |
endpointType()
Get the endpoint |
| String |
endpointUrl()
Get the endpoint |
|
static
Webhook |
fromJson(JsonReader jsonReader)
Reads an instance of Webhook |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Webhook |
withAzureSubscriptionId(String azureSubscriptionId)
Set the azure |
|
Webhook |
withClientAuthentication(PartnerClientAuthentication clientAuthentication)
Set the client |
|
Webhook |
withEndpointBaseUrl(String endpointBaseUrl)
Set the endpoint |
|
Webhook |
withEndpointServiceContext(String endpointServiceContext)
Set the endpoint |
|
Webhook |
withEndpointUrl(String endpointUrl)
Set the endpoint |
|
Webhook |
withName(String name)
Set the name property: Name of the partner destination associated with the channel. |
|
Webhook |
withResourceGroupName(String resourceGroupName)
Set the resource |
|
Webhook |
withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)
Set the resource |
Methods inherited from PartnerDestinationInfo
Methods inherited from java.lang.Object
Constructor Details
WebhookPartnerDestinationInfo
public WebhookPartnerDestinationInfo()
Creates an instance of WebhookPartnerDestinationInfo class.
Method Details
clientAuthentication
public PartnerClientAuthentication clientAuthentication()
Get the clientAuthentication property: Partner client authentication.
Returns:
endpointBaseUrl
public String endpointBaseUrl()
Get the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.
Returns:
endpointType
public PartnerEndpointType endpointType()
Get the endpointType property: Type of the endpoint for the partner destination.
Overrides:
WebhookPartnerDestinationInfo.endpointType()Returns:
endpointUrl
public String endpointUrl()
Get the endpointUrl property: The URL that represents the endpoint of the partner destination.
Returns:
fromJson
public static WebhookPartnerDestinationInfo fromJson(JsonReader jsonReader)
Reads an instance of WebhookPartnerDestinationInfo from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebhookPartnerDestinationInfo.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
WebhookPartnerDestinationInfo.validate()withAzureSubscriptionId
public WebhookPartnerDestinationInfo withAzureSubscriptionId(String azureSubscriptionId)
Set the azureSubscriptionId property: Azure subscription ID of the subscriber. The partner destination associated with the channel will be created under this Azure subscription.
Overrides:
WebhookPartnerDestinationInfo.withAzureSubscriptionId(String azureSubscriptionId)Parameters:
withClientAuthentication
public WebhookPartnerDestinationInfo withClientAuthentication(PartnerClientAuthentication clientAuthentication)
Set the clientAuthentication property: Partner client authentication.
Parameters:
Returns:
withEndpointBaseUrl
public WebhookPartnerDestinationInfo withEndpointBaseUrl(String endpointBaseUrl)
Set the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.
Parameters:
Returns:
withEndpointServiceContext
public WebhookPartnerDestinationInfo withEndpointServiceContext(String endpointServiceContext)
Set the endpointServiceContext property: Additional context of the partner destination endpoint.
Overrides:
WebhookPartnerDestinationInfo.withEndpointServiceContext(String endpointServiceContext)Parameters:
withEndpointUrl
public WebhookPartnerDestinationInfo withEndpointUrl(String endpointUrl)
Set the endpointUrl property: The URL that represents the endpoint of the partner destination.
Parameters:
Returns:
withName
public WebhookPartnerDestinationInfo withName(String name)
Set the name property: Name of the partner destination associated with the channel.
Overrides:
WebhookPartnerDestinationInfo.withName(String name)Parameters:
withResourceGroupName
public WebhookPartnerDestinationInfo withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: Azure Resource Group of the subscriber. The partner destination associated with the channel will be created under this resource group.
Overrides:
WebhookPartnerDestinationInfo.withResourceGroupName(String resourceGroupName)Parameters:
withResourceMoveChangeHistory
public WebhookPartnerDestinationInfo withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)
Set the resourceMoveChangeHistory property: Change history of the resource move.
Overrides:
WebhookPartnerDestinationInfo.withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)Parameters: