次の方法で共有


WebhookPartnerDestinationInfo Class

public final class WebhookPartnerDestinationInfo
extends PartnerDestinationInfo

Information about the WebHook of the partner destination.

Constructor Summary

Constructor Description
WebhookPartnerDestinationInfo()

Creates an instance of WebhookPartnerDestinationInfo class.

Method Summary

Modifier and Type Method and Description
PartnerClientAuthentication clientAuthentication()

Get the clientAuthentication property: Partner client authentication.

String endpointBaseUrl()

Get the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

PartnerEndpointType endpointType()

Get the endpointType property: Type of the endpoint for the partner destination.

String endpointUrl()

Get the endpointUrl property: The URL that represents the endpoint of the partner destination.

static WebhookPartnerDestinationInfo fromJson(JsonReader jsonReader)

Reads an instance of WebhookPartnerDestinationInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WebhookPartnerDestinationInfo withAzureSubscriptionId(String azureSubscriptionId)

Set the azureSubscriptionId property: Azure subscription ID of the subscriber.

WebhookPartnerDestinationInfo withClientAuthentication(PartnerClientAuthentication clientAuthentication)

Set the clientAuthentication property: Partner client authentication.

WebhookPartnerDestinationInfo withEndpointBaseUrl(String endpointBaseUrl)

Set the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

WebhookPartnerDestinationInfo withEndpointServiceContext(String endpointServiceContext)

Set the endpointServiceContext property: Additional context of the partner destination endpoint.

WebhookPartnerDestinationInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl property: The URL that represents the endpoint of the partner destination.

WebhookPartnerDestinationInfo withName(String name)

Set the name property: Name of the partner destination associated with the channel.

WebhookPartnerDestinationInfo withResourceGroupName(String resourceGroupName)

Set the resourceGroupName property: Azure Resource Group of the subscriber.

WebhookPartnerDestinationInfo withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)

Set the resourceMoveChangeHistory property: Change history of the resource move.

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:

the clientAuthentication value.

endpointBaseUrl

public String endpointBaseUrl()

Get the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

Returns:

the endpointBaseUrl value.

endpointType

public PartnerEndpointType endpointType()

Get the endpointType property: Type of the endpoint for the partner destination.

Overrides:

WebhookPartnerDestinationInfo.endpointType()

Returns:

the endpointType value.

endpointUrl

public String endpointUrl()

Get the endpointUrl property: The URL that represents the endpoint of the partner destination.

Returns:

the endpointUrl value.

fromJson

public static WebhookPartnerDestinationInfo fromJson(JsonReader jsonReader)

Reads an instance of WebhookPartnerDestinationInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebhookPartnerDestinationInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WebhookPartnerDestinationInfo.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WebhookPartnerDestinationInfo.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

azureSubscriptionId

withClientAuthentication

public WebhookPartnerDestinationInfo withClientAuthentication(PartnerClientAuthentication clientAuthentication)

Set the clientAuthentication property: Partner client authentication.

Parameters:

clientAuthentication - the clientAuthentication value to set.

Returns:

the WebhookPartnerDestinationInfo object itself.

withEndpointBaseUrl

public WebhookPartnerDestinationInfo withEndpointBaseUrl(String endpointBaseUrl)

Set the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

Parameters:

endpointBaseUrl - the endpointBaseUrl value to set.

Returns:

the WebhookPartnerDestinationInfo object itself.

withEndpointServiceContext

public WebhookPartnerDestinationInfo withEndpointServiceContext(String endpointServiceContext)

Set the endpointServiceContext property: Additional context of the partner destination endpoint.

Overrides:

WebhookPartnerDestinationInfo.withEndpointServiceContext(String endpointServiceContext)

Parameters:

endpointServiceContext

withEndpointUrl

public WebhookPartnerDestinationInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl property: The URL that represents the endpoint of the partner destination.

Parameters:

endpointUrl - the endpointUrl value to set.

Returns:

the WebhookPartnerDestinationInfo object itself.

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:

name

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:

resourceGroupName

withResourceMoveChangeHistory

public WebhookPartnerDestinationInfo withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)

Set the resourceMoveChangeHistory property: Change history of the resource move.

Overrides:

WebhookPartnerDestinationInfo.withResourceMoveChangeHistory(List<ResourceMoveChangeHistory> resourceMoveChangeHistory)

Parameters:

resourceMoveChangeHistory

Applies to