Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
Parameters that define the configuration of traffic analytics.
/** * Parameters that define the configuration of traffic analytics. */
public class TrafficAnalyticsConfigurationProperties {
Flag to enable/disable traffic analytics.
/** * Flag to enable/disable traffic analytics. */
@JsonProperty(value = "enabled") private Boolean enabled;
The resource guid of the attached workspace.
/** * The resource guid of the attached workspace. */
@JsonProperty(value = "workspaceId") private String workspaceId;
The location of the attached workspace.
/** * The location of the attached workspace. */
@JsonProperty(value = "workspaceRegion") private String workspaceRegion;
Resource Id of the attached workspace.
/** * Resource Id of the attached workspace. */
@JsonProperty(value = "workspaceResourceId") private String workspaceResourceId;
The interval in minutes which would decide how frequently TA service should do flow analytics.
/** * The interval in minutes which would decide how frequently TA service * should do flow analytics. */
@JsonProperty(value = "trafficAnalyticsInterval") private Integer trafficAnalyticsInterval;
Get flag to enable/disable traffic analytics.
Returns:the enabled value
/** * Get flag to enable/disable traffic analytics. * * @return the enabled value */
public Boolean enabled() { return this.enabled; }
Set flag to enable/disable traffic analytics.
Params:
  • enabled – the enabled value to set
Returns:the TrafficAnalyticsConfigurationProperties object itself.
/** * Set flag to enable/disable traffic analytics. * * @param enabled the enabled value to set * @return the TrafficAnalyticsConfigurationProperties object itself. */
public TrafficAnalyticsConfigurationProperties withEnabled(Boolean enabled) { this.enabled = enabled; return this; }
Get the resource guid of the attached workspace.
Returns:the workspaceId value
/** * Get the resource guid of the attached workspace. * * @return the workspaceId value */
public String workspaceId() { return this.workspaceId; }
Set the resource guid of the attached workspace.
Params:
  • workspaceId – the workspaceId value to set
Returns:the TrafficAnalyticsConfigurationProperties object itself.
/** * Set the resource guid of the attached workspace. * * @param workspaceId the workspaceId value to set * @return the TrafficAnalyticsConfigurationProperties object itself. */
public TrafficAnalyticsConfigurationProperties withWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; }
Get the location of the attached workspace.
Returns:the workspaceRegion value
/** * Get the location of the attached workspace. * * @return the workspaceRegion value */
public String workspaceRegion() { return this.workspaceRegion; }
Set the location of the attached workspace.
Params:
  • workspaceRegion – the workspaceRegion value to set
Returns:the TrafficAnalyticsConfigurationProperties object itself.
/** * Set the location of the attached workspace. * * @param workspaceRegion the workspaceRegion value to set * @return the TrafficAnalyticsConfigurationProperties object itself. */
public TrafficAnalyticsConfigurationProperties withWorkspaceRegion(String workspaceRegion) { this.workspaceRegion = workspaceRegion; return this; }
Get resource Id of the attached workspace.
Returns:the workspaceResourceId value
/** * Get resource Id of the attached workspace. * * @return the workspaceResourceId value */
public String workspaceResourceId() { return this.workspaceResourceId; }
Set resource Id of the attached workspace.
Params:
  • workspaceResourceId – the workspaceResourceId value to set
Returns:the TrafficAnalyticsConfigurationProperties object itself.
/** * Set resource Id of the attached workspace. * * @param workspaceResourceId the workspaceResourceId value to set * @return the TrafficAnalyticsConfigurationProperties object itself. */
public TrafficAnalyticsConfigurationProperties withWorkspaceResourceId(String workspaceResourceId) { this.workspaceResourceId = workspaceResourceId; return this; }
Get the interval in minutes which would decide how frequently TA service should do flow analytics.
Returns:the trafficAnalyticsInterval value
/** * Get the interval in minutes which would decide how frequently TA service should do flow analytics. * * @return the trafficAnalyticsInterval value */
public Integer trafficAnalyticsInterval() { return this.trafficAnalyticsInterval; }
Set the interval in minutes which would decide how frequently TA service should do flow analytics.
Params:
  • trafficAnalyticsInterval – the trafficAnalyticsInterval value to set
Returns:the TrafficAnalyticsConfigurationProperties object itself.
/** * Set the interval in minutes which would decide how frequently TA service should do flow analytics. * * @param trafficAnalyticsInterval the trafficAnalyticsInterval value to set * @return the TrafficAnalyticsConfigurationProperties object itself. */
public TrafficAnalyticsConfigurationProperties withTrafficAnalyticsInterval(Integer trafficAnalyticsInterval) { this.trafficAnalyticsInterval = trafficAnalyticsInterval; return this; } }