Class AzureTrafficCollectorPropertiesFormat

java.lang.Object
com.azure.resourcemanager.networkfunction.fluent.models.AzureTrafficCollectorPropertiesFormat

public final class AzureTrafficCollectorPropertiesFormat extends Object
Azure Traffic Collector resource properties.
  • Constructor Details

    • AzureTrafficCollectorPropertiesFormat

      public AzureTrafficCollectorPropertiesFormat()
  • Method Details

    • collectorPolicies

      public List<CollectorPolicyInner> collectorPolicies()
      Get the collectorPolicies property: Collector Policies for Azure Traffic Collector.
      Returns:
      the collectorPolicies value.
    • withCollectorPolicies

      public AzureTrafficCollectorPropertiesFormat withCollectorPolicies(List<CollectorPolicyInner> collectorPolicies)
      Set the collectorPolicies property: Collector Policies for Azure Traffic Collector.
      Parameters:
      collectorPolicies - the collectorPolicies value to set.
      Returns:
      the AzureTrafficCollectorPropertiesFormat object itself.
    • virtualHub

      public ResourceReference virtualHub()
      Get the virtualHub property: The virtualHub to which the Azure Traffic Collector belongs.
      Returns:
      the virtualHub value.
    • withVirtualHub

      public AzureTrafficCollectorPropertiesFormat withVirtualHub(ResourceReference virtualHub)
      Set the virtualHub property: The virtualHub to which the Azure Traffic Collector belongs.
      Parameters:
      virtualHub - the virtualHub value to set.
      Returns:
      the AzureTrafficCollectorPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the application rule collection resource.
      Returns:
      the provisioningState value.
    • validate

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