你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TrafficAnalyticsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.TrafficAnalyticsProperties

Implements

public final class TrafficAnalyticsProperties
implements JsonSerializable<TrafficAnalyticsProperties>

Parameters that define the configuration of traffic analytics.

Constructor Summary

Constructor Description
TrafficAnalyticsProperties()

Creates an instance of TrafficAnalyticsProperties class.

Method Summary

Modifier and Type Method and Description
static TrafficAnalyticsProperties fromJson(JsonReader jsonReader)

Reads an instance of TrafficAnalyticsProperties from the JsonReader.

TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration()

Get the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TrafficAnalyticsProperties withNetworkWatcherFlowAnalyticsConfiguration(TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration)

Set the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.

Methods inherited from java.lang.Object

Constructor Details

TrafficAnalyticsProperties

public TrafficAnalyticsProperties()

Creates an instance of TrafficAnalyticsProperties class.

Method Details

fromJson

public static TrafficAnalyticsProperties fromJson(JsonReader jsonReader)

Reads an instance of TrafficAnalyticsProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TrafficAnalyticsProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TrafficAnalyticsProperties.

networkWatcherFlowAnalyticsConfiguration

public TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration()

Get the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.

Returns:

the networkWatcherFlowAnalyticsConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkWatcherFlowAnalyticsConfiguration

public TrafficAnalyticsProperties withNetworkWatcherFlowAnalyticsConfiguration(TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration)

Set the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.

Parameters:

networkWatcherFlowAnalyticsConfiguration - the networkWatcherFlowAnalyticsConfiguration value to set.

Returns:

the TrafficAnalyticsProperties object itself.

Applies to