Dela via


EventChannelDestination Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.EventChannelDestination

public class EventChannelDestination

Properties of the destination of an event channel.

Constructor Summary

Constructor Description
EventChannelDestination()

Method Summary

Modifier and Type Method and Description
java.lang.String azureSubscriptionId()

Get azure subscription ID of the customer creating the event channel.

java.lang.String partnerTopicName()

Get name of the partner topic associated with the event channel.

java.lang.String resourceGroup()

Get azure Resource Group of the customer creating the event channel.

EventChannelDestination withAzureSubscriptionId(String azureSubscriptionId)

Set azure subscription ID of the customer creating the event channel.

EventChannelDestination withPartnerTopicName(String partnerTopicName)

Set name of the partner topic associated with the event channel.

EventChannelDestination withResourceGroup(String resourceGroup)

Set azure Resource Group of the customer creating the event channel.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EventChannelDestination

public EventChannelDestination()

Method Details

azureSubscriptionId

public String azureSubscriptionId()

Get azure subscription ID of the customer creating the event channel. The partner topic associated with the event channel will be created under this Azure subscription.

Returns:

the azureSubscriptionId value

partnerTopicName

public String partnerTopicName()

Get name of the partner topic associated with the event channel.

Returns:

the partnerTopicName value

resourceGroup

public String resourceGroup()

Get azure Resource Group of the customer creating the event channel. The partner topic associated with the event channel will be created under this resource group.

Returns:

the resourceGroup value

withAzureSubscriptionId

public EventChannelDestination withAzureSubscriptionId(String azureSubscriptionId)

Set azure subscription ID of the customer creating the event channel. The partner topic associated with the event channel will be created under this Azure subscription.

Parameters:

azureSubscriptionId - the azureSubscriptionId value to set

Returns:

the EventChannelDestination object itself.

withPartnerTopicName

public EventChannelDestination withPartnerTopicName(String partnerTopicName)

Set name of the partner topic associated with the event channel.

Parameters:

partnerTopicName - the partnerTopicName value to set

Returns:

the EventChannelDestination object itself.

withResourceGroup

public EventChannelDestination withResourceGroup(String resourceGroup)

Set azure Resource Group of the customer creating the event channel. The partner topic associated with the event channel will be created under this resource group.

Parameters:

resourceGroup - the resourceGroup value to set

Returns:

the EventChannelDestination object itself.

Applies to