com.microsoft.azure.management.network.Policies 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.
/**
* 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;
/**
* Policies for vpn gateway.
*/
public class Policies {
/**
* True if branch to branch traffic is allowed.
*/
@JsonProperty(value = "allowBranchToBranchTraffic")
private Boolean allowBranchToBranchTraffic;
/**
* True if Vnet to Vnet traffic is allowed.
*/
@JsonProperty(value = "allowVnetToVnetTraffic")
private Boolean allowVnetToVnetTraffic;
/**
* Get the allowBranchToBranchTraffic value.
*
* @return the allowBranchToBranchTraffic value
*/
public Boolean allowBranchToBranchTraffic() {
return this.allowBranchToBranchTraffic;
}
/**
* Set the allowBranchToBranchTraffic value.
*
* @param allowBranchToBranchTraffic the allowBranchToBranchTraffic value to set
* @return the Policies object itself.
*/
public Policies withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) {
this.allowBranchToBranchTraffic = allowBranchToBranchTraffic;
return this;
}
/**
* Get the allowVnetToVnetTraffic value.
*
* @return the allowVnetToVnetTraffic value
*/
public Boolean allowVnetToVnetTraffic() {
return this.allowVnetToVnetTraffic;
}
/**
* Set the allowVnetToVnetTraffic value.
*
* @param allowVnetToVnetTraffic the allowVnetToVnetTraffic value to set
* @return the Policies object itself.
*/
public Policies withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic) {
this.allowVnetToVnetTraffic = allowVnetToVnetTraffic;
return this;
}
}