com.microsoft.azure.management.network.TrafficSelectorPolicy 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* An traffic selector policy for a virtual network gateway connection.
*/
public class TrafficSelectorPolicy {
/**
* A collection of local address spaces in CIDR format.
*/
@JsonProperty(value = "localAddressRanges", required = true)
private List localAddressRanges;
/**
* A collection of remote address spaces in CIDR format.
*/
@JsonProperty(value = "remoteAddressRanges", required = true)
private List remoteAddressRanges;
/**
* Get a collection of local address spaces in CIDR format.
*
* @return the localAddressRanges value
*/
public List localAddressRanges() {
return this.localAddressRanges;
}
/**
* Set a collection of local address spaces in CIDR format.
*
* @param localAddressRanges the localAddressRanges value to set
* @return the TrafficSelectorPolicy object itself.
*/
public TrafficSelectorPolicy withLocalAddressRanges(List localAddressRanges) {
this.localAddressRanges = localAddressRanges;
return this;
}
/**
* Get a collection of remote address spaces in CIDR format.
*
* @return the remoteAddressRanges value
*/
public List remoteAddressRanges() {
return this.remoteAddressRanges;
}
/**
* Set a collection of remote address spaces in CIDR format.
*
* @param remoteAddressRanges the remoteAddressRanges value to set
* @return the TrafficSelectorPolicy object itself.
*/
public TrafficSelectorPolicy withRemoteAddressRanges(List remoteAddressRanges) {
this.remoteAddressRanges = remoteAddressRanges;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy