com.pulumi.azurenative.network.inputs.GetVpnConnectionPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.network.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetVpnConnectionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetVpnConnectionPlainArgs Empty = new GetVpnConnectionPlainArgs();
/**
* The name of the vpn connection.
*
*/
@Import(name="connectionName", required=true)
private String connectionName;
/**
* @return The name of the vpn connection.
*
*/
public String connectionName() {
return this.connectionName;
}
/**
* The name of the gateway.
*
*/
@Import(name="gatewayName", required=true)
private String gatewayName;
/**
* @return The name of the gateway.
*
*/
public String gatewayName() {
return this.gatewayName;
}
/**
* The resource group name of the VpnGateway.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The resource group name of the VpnGateway.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetVpnConnectionPlainArgs() {}
private GetVpnConnectionPlainArgs(GetVpnConnectionPlainArgs $) {
this.connectionName = $.connectionName;
this.gatewayName = $.gatewayName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpnConnectionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetVpnConnectionPlainArgs $;
public Builder() {
$ = new GetVpnConnectionPlainArgs();
}
public Builder(GetVpnConnectionPlainArgs defaults) {
$ = new GetVpnConnectionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param connectionName The name of the vpn connection.
*
* @return builder
*
*/
public Builder connectionName(String connectionName) {
$.connectionName = connectionName;
return this;
}
/**
* @param gatewayName The name of the gateway.
*
* @return builder
*
*/
public Builder gatewayName(String gatewayName) {
$.gatewayName = gatewayName;
return this;
}
/**
* @param resourceGroupName The resource group name of the VpnGateway.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetVpnConnectionPlainArgs build() {
if ($.connectionName == null) {
throw new MissingRequiredPropertyException("GetVpnConnectionPlainArgs", "connectionName");
}
if ($.gatewayName == null) {
throw new MissingRequiredPropertyException("GetVpnConnectionPlainArgs", "gatewayName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetVpnConnectionPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy