com.pulumi.azurenative.network.inputs.GetVirtualNetworkLinkArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetVirtualNetworkLinkArgs extends com.pulumi.resources.InvokeArgs {
public static final GetVirtualNetworkLinkArgs Empty = new GetVirtualNetworkLinkArgs();
/**
* The name of the Private DNS zone (without a terminating dot).
*
*/
@Import(name="privateZoneName", required=true)
private Output privateZoneName;
/**
* @return The name of the Private DNS zone (without a terminating dot).
*
*/
public Output privateZoneName() {
return this.privateZoneName;
}
/**
* The name of the resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the virtual network link.
*
*/
@Import(name="virtualNetworkLinkName", required=true)
private Output virtualNetworkLinkName;
/**
* @return The name of the virtual network link.
*
*/
public Output virtualNetworkLinkName() {
return this.virtualNetworkLinkName;
}
private GetVirtualNetworkLinkArgs() {}
private GetVirtualNetworkLinkArgs(GetVirtualNetworkLinkArgs $) {
this.privateZoneName = $.privateZoneName;
this.resourceGroupName = $.resourceGroupName;
this.virtualNetworkLinkName = $.virtualNetworkLinkName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualNetworkLinkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetVirtualNetworkLinkArgs $;
public Builder() {
$ = new GetVirtualNetworkLinkArgs();
}
public Builder(GetVirtualNetworkLinkArgs defaults) {
$ = new GetVirtualNetworkLinkArgs(Objects.requireNonNull(defaults));
}
/**
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
*
* @return builder
*
*/
public Builder privateZoneName(Output privateZoneName) {
$.privateZoneName = privateZoneName;
return this;
}
/**
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
*
* @return builder
*
*/
public Builder privateZoneName(String privateZoneName) {
return privateZoneName(Output.of(privateZoneName));
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param virtualNetworkLinkName The name of the virtual network link.
*
* @return builder
*
*/
public Builder virtualNetworkLinkName(Output virtualNetworkLinkName) {
$.virtualNetworkLinkName = virtualNetworkLinkName;
return this;
}
/**
* @param virtualNetworkLinkName The name of the virtual network link.
*
* @return builder
*
*/
public Builder virtualNetworkLinkName(String virtualNetworkLinkName) {
return virtualNetworkLinkName(Output.of(virtualNetworkLinkName));
}
public GetVirtualNetworkLinkArgs build() {
if ($.privateZoneName == null) {
throw new MissingRequiredPropertyException("GetVirtualNetworkLinkArgs", "privateZoneName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetVirtualNetworkLinkArgs", "resourceGroupName");
}
if ($.virtualNetworkLinkName == null) {
throw new MissingRequiredPropertyException("GetVirtualNetworkLinkArgs", "virtualNetworkLinkName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy