Class PartnerTopicInfo
java.lang.Object
com.azure.resourcemanager.eventgrid.models.PartnerTopicInfo
Properties of the corresponding partner topic of a Channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureSubscriptionId property: Azure subscription ID of the subscriber.Get the eventTypeInfo property: Event Type Information for the partner topic.name()
Get the name property: Name of the partner topic associated with the channel.Get the resourceGroupName property: Azure Resource Group of the subscriber.source()
Get the source property: The source information is provided by the publisher to determine the scope or context from which the events are originating.void
validate()
Validates the instance.withAzureSubscriptionId
(String azureSubscriptionId) Set the azureSubscriptionId property: Azure subscription ID of the subscriber.withEventTypeInfo
(EventTypeInfo eventTypeInfo) Set the eventTypeInfo property: Event Type Information for the partner topic.Set the name property: Name of the partner topic associated with the channel.withResourceGroupName
(String resourceGroupName) Set the resourceGroupName property: Azure Resource Group of the subscriber.withSource
(String source) Set the source property: The source information is provided by the publisher to determine the scope or context from which the events are originating.
-
Constructor Details
-
PartnerTopicInfo
public PartnerTopicInfo()
-
-
Method Details
-
azureSubscriptionId
Get the azureSubscriptionId property: Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.- Returns:
- the azureSubscriptionId value.
-
withAzureSubscriptionId
Set the azureSubscriptionId property: Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.- Parameters:
azureSubscriptionId
- the azureSubscriptionId value to set.- Returns:
- the PartnerTopicInfo object itself.
-
resourceGroupName
Get the resourceGroupName property: Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
Set the resourceGroupName property: Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.- Parameters:
resourceGroupName
- the resourceGroupName value to set.- Returns:
- the PartnerTopicInfo object itself.
-
name
Get the name property: Name of the partner topic associated with the channel.- Returns:
- the name value.
-
withName
Set the name property: Name of the partner topic associated with the channel.- Parameters:
name
- the name value to set.- Returns:
- the PartnerTopicInfo object itself.
-
eventTypeInfo
Get the eventTypeInfo property: Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.- Returns:
- the eventTypeInfo value.
-
withEventTypeInfo
Set the eventTypeInfo property: Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.- Parameters:
eventTypeInfo
- the eventTypeInfo value to set.- Returns:
- the PartnerTopicInfo object itself.
-
source
Get the source property: The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.- Returns:
- the source value.
-
withSource
Set the source property: The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.- Parameters:
source
- the source value to set.- Returns:
- the PartnerTopicInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-