com.microsoft.azure.management.network.AzureReachabilityReportParameters 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. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-network is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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 java.util.List;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Geographic and time constraints for Azure reachability report.
*/
public class AzureReachabilityReportParameters {
/**
* The providerLocation property.
*/
@JsonProperty(value = "providerLocation", required = true)
private AzureReachabilityReportLocation providerLocation;
/**
* List of Internet service providers.
*/
@JsonProperty(value = "providers")
private List providers;
/**
* Optional Azure regions to scope the query to.
*/
@JsonProperty(value = "azureLocations")
private List azureLocations;
/**
* The start time for the Azure reachability report.
*/
@JsonProperty(value = "startTime", required = true)
private DateTime startTime;
/**
* The end time for the Azure reachability report.
*/
@JsonProperty(value = "endTime", required = true)
private DateTime endTime;
/**
* Get the providerLocation value.
*
* @return the providerLocation value
*/
public AzureReachabilityReportLocation providerLocation() {
return this.providerLocation;
}
/**
* Set the providerLocation value.
*
* @param providerLocation the providerLocation value to set
* @return the AzureReachabilityReportParameters object itself.
*/
public AzureReachabilityReportParameters withProviderLocation(AzureReachabilityReportLocation providerLocation) {
this.providerLocation = providerLocation;
return this;
}
/**
* Get the providers value.
*
* @return the providers value
*/
public List providers() {
return this.providers;
}
/**
* Set the providers value.
*
* @param providers the providers value to set
* @return the AzureReachabilityReportParameters object itself.
*/
public AzureReachabilityReportParameters withProviders(List providers) {
this.providers = providers;
return this;
}
/**
* Get the azureLocations value.
*
* @return the azureLocations value
*/
public List azureLocations() {
return this.azureLocations;
}
/**
* Set the azureLocations value.
*
* @param azureLocations the azureLocations value to set
* @return the AzureReachabilityReportParameters object itself.
*/
public AzureReachabilityReportParameters withAzureLocations(List azureLocations) {
this.azureLocations = azureLocations;
return this;
}
/**
* Get the startTime value.
*
* @return the startTime value
*/
public DateTime startTime() {
return this.startTime;
}
/**
* Set the startTime value.
*
* @param startTime the startTime value to set
* @return the AzureReachabilityReportParameters object itself.
*/
public AzureReachabilityReportParameters withStartTime(DateTime startTime) {
this.startTime = startTime;
return this;
}
/**
* Get the endTime value.
*
* @return the endTime value
*/
public DateTime endTime() {
return this.endTime;
}
/**
* Set the endTime value.
*
* @param endTime the endTime value to set
* @return the AzureReachabilityReportParameters object itself.
*/
public AzureReachabilityReportParameters withEndTime(DateTime endTime) {
this.endTime = endTime;
return this;
}
}