/**
 * 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.appservice.implementation;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.appservice.ProxyOnlyResource;

/**
 * The Virtual Network gateway contract. This is used to give the Virtual
 * Network gateway access to the VPN package.
 */
@JsonFlatten
public class VnetGatewayInner extends ProxyOnlyResource {
    /**
     * The Virtual Network name.
     */
    @JsonProperty(value = "properties.vnetName")
    private String vnetName;

    /**
     * The URI where the VPN package can be downloaded.
     */
    @JsonProperty(value = "properties.vpnPackageUri", required = true)
    private String vpnPackageUri;

    /**
     * Get the Virtual Network name.
     *
     * @return the vnetName value
     */
    public String vnetName() {
        return this.vnetName;
    }

    /**
     * Set the Virtual Network name.
     *
     * @param vnetName the vnetName value to set
     * @return the VnetGatewayInner object itself.
     */
    public VnetGatewayInner withVnetName(String vnetName) {
        this.vnetName = vnetName;
        return this;
    }

    /**
     * Get the URI where the VPN package can be downloaded.
     *
     * @return the vpnPackageUri value
     */
    public String vpnPackageUri() {
        return this.vpnPackageUri;
    }

    /**
     * Set the URI where the VPN package can be downloaded.
     *
     * @param vpnPackageUri the vpnPackageUri value to set
     * @return the VnetGatewayInner object itself.
     */
    public VnetGatewayInner withVpnPackageUri(String vpnPackageUri) {
        this.vpnPackageUri = vpnPackageUri;
        return this;
    }

}
