com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Virtual Wan Vpn profile parameters Vpn profile generation.
*/
@Fluent
public final class VirtualWanVpnProfileParameters {
/*
* VpnServerConfiguration partial resource uri with which VirtualWan is associated to.
*/
@JsonProperty(value = "vpnServerConfigurationResourceId")
private String vpnServerConfigurationResourceId;
/*
* VPN client authentication method.
*/
@JsonProperty(value = "authenticationMethod")
private AuthenticationMethod authenticationMethod;
/**
* Creates an instance of VirtualWanVpnProfileParameters class.
*/
public VirtualWanVpnProfileParameters() {
}
/**
* Get the vpnServerConfigurationResourceId property: VpnServerConfiguration partial resource uri with which
* VirtualWan is associated to.
*
* @return the vpnServerConfigurationResourceId value.
*/
public String vpnServerConfigurationResourceId() {
return this.vpnServerConfigurationResourceId;
}
/**
* Set the vpnServerConfigurationResourceId property: VpnServerConfiguration partial resource uri with which
* VirtualWan is associated to.
*
* @param vpnServerConfigurationResourceId the vpnServerConfigurationResourceId value to set.
* @return the VirtualWanVpnProfileParameters object itself.
*/
public VirtualWanVpnProfileParameters
withVpnServerConfigurationResourceId(String vpnServerConfigurationResourceId) {
this.vpnServerConfigurationResourceId = vpnServerConfigurationResourceId;
return this;
}
/**
* Get the authenticationMethod property: VPN client authentication method.
*
* @return the authenticationMethod value.
*/
public AuthenticationMethod authenticationMethod() {
return this.authenticationMethod;
}
/**
* Set the authenticationMethod property: VPN client authentication method.
*
* @param authenticationMethod the authenticationMethod value to set.
* @return the VirtualWanVpnProfileParameters object itself.
*/
public VirtualWanVpnProfileParameters withAuthenticationMethod(AuthenticationMethod authenticationMethod) {
this.authenticationMethod = authenticationMethod;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}