Class PartnerTopicInfo

java.lang.Object
com.azure.resourcemanager.eventgrid.models.PartnerTopicInfo

public final class PartnerTopicInfo extends Object
Properties of the corresponding partner topic of a Channel.
  • Constructor Details

    • PartnerTopicInfo

      public PartnerTopicInfo()
  • Method Details

    • azureSubscriptionId

      public String 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

      public PartnerTopicInfo withAzureSubscriptionId(String azureSubscriptionId)
      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

      public String 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

      public PartnerTopicInfo withResourceGroupName(String resourceGroupName)
      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

      public String name()
      Get the name property: Name of the partner topic associated with the channel.
      Returns:
      the name value.
    • withName

      public PartnerTopicInfo withName(String name)
      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

      public EventTypeInfo 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

      public PartnerTopicInfo withEventTypeInfo(EventTypeInfo eventTypeInfo)
      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

      public String 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

      public PartnerTopicInfo 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. 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.