com.microsoft.azure.management.network.TrafficAnalyticsConfigurationProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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.
*/
public class TrafficAnalyticsConfigurationProperties {
/**
* Flag to enable/disable traffic analytics.
*/
@JsonProperty(value = "enabled")
private Boolean enabled;
/**
* The resource guid of the attached workspace.
*/
@JsonProperty(value = "workspaceId")
private String workspaceId;
/**
* The location of the attached workspace.
*/
@JsonProperty(value = "workspaceRegion")
private String workspaceRegion;
/**
* 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.
*/
@JsonProperty(value = "trafficAnalyticsInterval")
private Integer trafficAnalyticsInterval;
/**
* Get flag to enable/disable traffic analytics.
*
* @return the enabled value
*/
public Boolean enabled() {
return this.enabled;
}
/**
* 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.
*
* @return the workspaceId value
*/
public String workspaceId() {
return this.workspaceId;
}
/**
* 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.
*
* @return the workspaceRegion value
*/
public String workspaceRegion() {
return this.workspaceRegion;
}
/**
* 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.
*
* @return the workspaceResourceId value
*/
public String workspaceResourceId() {
return this.workspaceResourceId;
}
/**
* 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.
*
* @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.
*
* @param trafficAnalyticsInterval the trafficAnalyticsInterval value to set
* @return the TrafficAnalyticsConfigurationProperties object itself.
*/
public TrafficAnalyticsConfigurationProperties withTrafficAnalyticsInterval(Integer trafficAnalyticsInterval) {
this.trafficAnalyticsInterval = trafficAnalyticsInterval;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy