TrafficAnalyticsConfigurationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. TrafficAnalyticsConfigurationProperties
- com.
Implements
public final class TrafficAnalyticsConfigurationProperties
implements JsonSerializable<TrafficAnalyticsConfigurationProperties>
Parameters that define the configuration of traffic analytics.
Constructor Summary
| Constructor | Description |
|---|---|
| TrafficAnalyticsConfigurationProperties() |
Creates an instance of Traffic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Flag to enable/disable traffic analytics. |
|
static
Traffic |
fromJson(JsonReader jsonReader)
Reads an instance of Traffic |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
trafficAnalyticsInterval()
Get the traffic |
| void |
validate()
Validates the instance. |
|
Traffic |
withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable traffic analytics. |
|
Traffic |
withTrafficAnalyticsInterval(Integer trafficAnalyticsInterval)
Set the traffic |
|
Traffic |
withWorkspaceId(String workspaceId)
Set the workspace |
|
Traffic |
withWorkspaceRegion(String workspaceRegion)
Set the workspace |
|
Traffic |
withWorkspaceResourceId(String workspaceResourceId)
Set the workspace |
| String |
workspaceId()
Get the workspace |
| String |
workspaceRegion()
Get the workspace |
| String |
workspaceResourceId()
Get the workspace |
Methods inherited from java.lang.Object
Constructor Details
TrafficAnalyticsConfigurationProperties
public TrafficAnalyticsConfigurationProperties()
Creates an instance of TrafficAnalyticsConfigurationProperties class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Flag to enable/disable traffic analytics.
Returns:
fromJson
public static TrafficAnalyticsConfigurationProperties fromJson(JsonReader jsonReader)
Reads an instance of TrafficAnalyticsConfigurationProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
trafficAnalyticsInterval
public Integer trafficAnalyticsInterval()
Get the trafficAnalyticsInterval property: The interval in minutes which would decide how frequently TA service should do flow analytics.
Returns:
validate
public void validate()
Validates the instance.
withEnabled
public TrafficAnalyticsConfigurationProperties withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable traffic analytics.
Parameters:
Returns:
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:
Returns:
withWorkspaceId
public TrafficAnalyticsConfigurationProperties withWorkspaceId(String workspaceId)
Set the workspaceId property: The resource guid of the attached workspace.
Parameters:
Returns:
withWorkspaceRegion
public TrafficAnalyticsConfigurationProperties withWorkspaceRegion(String workspaceRegion)
Set the workspaceRegion property: The location of the attached workspace.
Parameters:
Returns:
withWorkspaceResourceId
public TrafficAnalyticsConfigurationProperties withWorkspaceResourceId(String workspaceResourceId)
Set the workspaceResourceId property: Resource Id of the attached workspace.
Parameters:
Returns:
workspaceId
public String workspaceId()
Get the workspaceId property: The resource guid of the attached workspace.
Returns:
workspaceRegion
public String workspaceRegion()
Get the workspaceRegion property: The location of the attached workspace.
Returns:
workspaceResourceId
public String workspaceResourceId()
Get the workspaceResourceId property: Resource Id of the attached workspace.
Returns: