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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the collectorPolicies property: Collector Policies for Azure Traffic Collector.etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.Get the provisioningState property: The provisioning state of the application rule collection resource.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.Get the virtualHub property: The virtualHub to which the Azure Traffic Collector belongs.withCollectorPolicies
(List<CollectorPolicyInner> collectorPolicies) Set the collectorPolicies property: Collector Policies for Azure Traffic Collector.withLocation
(String location) withVirtualHub
(ResourceReference virtualHub) Set the virtualHub property: The virtualHub to which the Azure Traffic Collector belongs.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AzureTrafficCollectorInner
public AzureTrafficCollectorInner()
-
-
Method Details
-
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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
Get the virtualHub property: The virtualHub to which the Azure Traffic Collector belongs.- Returns:
- the virtualHub value.
-
withVirtualHub
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
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.
-