Class TopicTypeProperties

java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.TopicTypeProperties

public final class TopicTypeProperties extends Object
Properties of a topic type.
  • Constructor Details

    • TopicTypeProperties

      public TopicTypeProperties()
  • Method Details

    • provider

      public String provider()
      Get the provider property: Namespace of the provider of the topic type.
      Returns:
      the provider value.
    • withProvider

      public TopicTypeProperties withProvider(String provider)
      Set the provider property: Namespace of the provider of the topic type.
      Parameters:
      provider - the provider value to set.
      Returns:
      the TopicTypeProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display Name for the topic type.
      Returns:
      the displayName value.
    • withDisplayName

      public TopicTypeProperties withDisplayName(String displayName)
      Set the displayName property: Display Name for the topic type.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the TopicTypeProperties object itself.
    • description

      public String description()
      Get the description property: Description of the topic type.
      Returns:
      the description value.
    • withDescription

      public TopicTypeProperties withDescription(String description)
      Set the description property: Description of the topic type.
      Parameters:
      description - the description value to set.
      Returns:
      the TopicTypeProperties object itself.
    • resourceRegionType

      public ResourceRegionType resourceRegionType()
      Get the resourceRegionType property: Region type of the resource.
      Returns:
      the resourceRegionType value.
    • withResourceRegionType

      public TopicTypeProperties withResourceRegionType(ResourceRegionType resourceRegionType)
      Set the resourceRegionType property: Region type of the resource.
      Parameters:
      resourceRegionType - the resourceRegionType value to set.
      Returns:
      the TopicTypeProperties object itself.
    • provisioningState

      public TopicTypeProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the topic type.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public TopicTypeProperties withProvisioningState(TopicTypeProvisioningState provisioningState)
      Set the provisioningState property: Provisioning state of the topic type.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the TopicTypeProperties object itself.
    • supportedLocations

      public List<String> supportedLocations()
      Get the supportedLocations property: List of locations supported by this topic type.
      Returns:
      the supportedLocations value.
    • withSupportedLocations

      public TopicTypeProperties withSupportedLocations(List<String> supportedLocations)
      Set the supportedLocations property: List of locations supported by this topic type.
      Parameters:
      supportedLocations - the supportedLocations value to set.
      Returns:
      the TopicTypeProperties object itself.
    • sourceResourceFormat

      public String sourceResourceFormat()
      Get the sourceResourceFormat property: Source resource format.
      Returns:
      the sourceResourceFormat value.
    • withSourceResourceFormat

      public TopicTypeProperties withSourceResourceFormat(String sourceResourceFormat)
      Set the sourceResourceFormat property: Source resource format.
      Parameters:
      sourceResourceFormat - the sourceResourceFormat value to set.
      Returns:
      the TopicTypeProperties object itself.
    • supportedScopesForSource

      public List<TopicTypeSourceScope> supportedScopesForSource()
      Get the supportedScopesForSource property: Supported source scopes.
      Returns:
      the supportedScopesForSource value.
    • withSupportedScopesForSource

      public TopicTypeProperties withSupportedScopesForSource(List<TopicTypeSourceScope> supportedScopesForSource)
      Set the supportedScopesForSource property: Supported source scopes.
      Parameters:
      supportedScopesForSource - the supportedScopesForSource value to set.
      Returns:
      the TopicTypeProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.