Class AzureTrafficCollectorInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.networkfunction.fluent.models.AzureTrafficCollectorInner

public final class AzureTrafficCollectorInner extends com.azure.core.management.Resource
Azure Traffic Collector resource.
  • Constructor Details

    • AzureTrafficCollectorInner

      public AzureTrafficCollectorInner()
  • Method Details

    • etag

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • withLocation

      public AzureTrafficCollectorInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public AzureTrafficCollectorInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • collectorPolicies

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

      public AzureTrafficCollectorInner withCollectorPolicies(List<CollectorPolicyInner> collectorPolicies)
      Set the collectorPolicies property: Collector Policies for Azure Traffic Collector.
      Parameters:
      collectorPolicies - the collectorPolicies value to set.
      Returns:
      the AzureTrafficCollectorInner 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 AzureTrafficCollectorInner 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 AzureTrafficCollectorInner 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.