Class TrafficAnalyticsConfigurationProperties
- java.lang.Object
-
- com.azure.resourcemanager.network.models.TrafficAnalyticsConfigurationProperties
-
public final class TrafficAnalyticsConfigurationProperties extends Object
Parameters that define the configuration of traffic analytics.
-
-
Constructor Summary
Constructors Constructor Description TrafficAnalyticsConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanenabled()Get the enabled property: Flag to enable/disable traffic analytics.IntegertrafficAnalyticsInterval()Get the trafficAnalyticsInterval property: The interval in minutes which would decide how frequently TA service should do flow analytics.voidvalidate()Validates the instance.TrafficAnalyticsConfigurationPropertieswithEnabled(Boolean enabled)Set the enabled property: Flag to enable/disable traffic analytics.TrafficAnalyticsConfigurationPropertieswithTrafficAnalyticsInterval(Integer trafficAnalyticsInterval)Set the trafficAnalyticsInterval property: The interval in minutes which would decide how frequently TA service should do flow analytics.TrafficAnalyticsConfigurationPropertieswithWorkspaceId(String workspaceId)Set the workspaceId property: The resource guid of the attached workspace.TrafficAnalyticsConfigurationPropertieswithWorkspaceRegion(String workspaceRegion)Set the workspaceRegion property: The location of the attached workspace.TrafficAnalyticsConfigurationPropertieswithWorkspaceResourceId(String workspaceResourceId)Set the workspaceResourceId property: Resource Id of the attached workspace.StringworkspaceId()Get the workspaceId property: The resource guid of the attached workspace.StringworkspaceRegion()Get the workspaceRegion property: The location of the attached workspace.StringworkspaceResourceId()Get the workspaceResourceId property: Resource Id of the attached workspace.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: Flag to enable/disable traffic analytics.- Returns:
- the enabled value.
-
withEnabled
public TrafficAnalyticsConfigurationProperties withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable traffic analytics.- Parameters:
enabled- the enabled value to set.- Returns:
- the TrafficAnalyticsConfigurationProperties object itself.
-
workspaceId
public String workspaceId()
Get the workspaceId property: The resource guid of the attached workspace.- Returns:
- the workspaceId value.
-
withWorkspaceId
public TrafficAnalyticsConfigurationProperties withWorkspaceId(String workspaceId)
Set the workspaceId property: The resource guid of the attached workspace.- Parameters:
workspaceId- the workspaceId value to set.- Returns:
- the TrafficAnalyticsConfigurationProperties object itself.
-
workspaceRegion
public String workspaceRegion()
Get the workspaceRegion property: The location of the attached workspace.- Returns:
- the workspaceRegion value.
-
withWorkspaceRegion
public TrafficAnalyticsConfigurationProperties withWorkspaceRegion(String workspaceRegion)
Set the workspaceRegion property: The location of the attached workspace.- Parameters:
workspaceRegion- the workspaceRegion value to set.- Returns:
- the TrafficAnalyticsConfigurationProperties object itself.
-
workspaceResourceId
public String workspaceResourceId()
Get the workspaceResourceId property: Resource Id of the attached workspace.- Returns:
- the workspaceResourceId value.
-
withWorkspaceResourceId
public TrafficAnalyticsConfigurationProperties withWorkspaceResourceId(String workspaceResourceId)
Set the workspaceResourceId property: Resource Id of the attached workspace.- Parameters:
workspaceResourceId- the workspaceResourceId value to set.- Returns:
- the TrafficAnalyticsConfigurationProperties object itself.
-
trafficAnalyticsInterval
public Integer trafficAnalyticsInterval()
Get the trafficAnalyticsInterval property: The interval in minutes which would decide how frequently TA service should do flow analytics.- Returns:
- the trafficAnalyticsInterval value.
-
withTrafficAnalyticsInterval
public TrafficAnalyticsConfigurationProperties withTrafficAnalyticsInterval(Integer trafficAnalyticsInterval)
Set the trafficAnalyticsInterval property: The interval in minutes which would decide how frequently TA service should do flow analytics.- Parameters:
trafficAnalyticsInterval- the trafficAnalyticsInterval value to set.- Returns:
- the TrafficAnalyticsConfigurationProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-