com.pulumi.azurenative.network.inputs.GetDnsResolverPolicyVirtualNetworkLinkArgs 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 GetDnsResolverPolicyVirtualNetworkLinkArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDnsResolverPolicyVirtualNetworkLinkArgs Empty = new GetDnsResolverPolicyVirtualNetworkLinkArgs();
/**
* The name of the DNS resolver policy.
*
*/
@Import(name="dnsResolverPolicyName", required=true)
private Output dnsResolverPolicyName;
/**
* @return The name of the DNS resolver policy.
*
*/
public Output dnsResolverPolicyName() {
return this.dnsResolverPolicyName;
}
/**
* The name of the DNS resolver policy virtual network link for the DNS resolver policy.
*
*/
@Import(name="dnsResolverPolicyVirtualNetworkLinkName", required=true)
private Output dnsResolverPolicyVirtualNetworkLinkName;
/**
* @return The name of the DNS resolver policy virtual network link for the DNS resolver policy.
*
*/
public Output dnsResolverPolicyVirtualNetworkLinkName() {
return this.dnsResolverPolicyVirtualNetworkLinkName;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetDnsResolverPolicyVirtualNetworkLinkArgs() {}
private GetDnsResolverPolicyVirtualNetworkLinkArgs(GetDnsResolverPolicyVirtualNetworkLinkArgs $) {
this.dnsResolverPolicyName = $.dnsResolverPolicyName;
this.dnsResolverPolicyVirtualNetworkLinkName = $.dnsResolverPolicyVirtualNetworkLinkName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDnsResolverPolicyVirtualNetworkLinkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDnsResolverPolicyVirtualNetworkLinkArgs $;
public Builder() {
$ = new GetDnsResolverPolicyVirtualNetworkLinkArgs();
}
public Builder(GetDnsResolverPolicyVirtualNetworkLinkArgs defaults) {
$ = new GetDnsResolverPolicyVirtualNetworkLinkArgs(Objects.requireNonNull(defaults));
}
/**
* @param dnsResolverPolicyName The name of the DNS resolver policy.
*
* @return builder
*
*/
public Builder dnsResolverPolicyName(Output dnsResolverPolicyName) {
$.dnsResolverPolicyName = dnsResolverPolicyName;
return this;
}
/**
* @param dnsResolverPolicyName The name of the DNS resolver policy.
*
* @return builder
*
*/
public Builder dnsResolverPolicyName(String dnsResolverPolicyName) {
return dnsResolverPolicyName(Output.of(dnsResolverPolicyName));
}
/**
* @param dnsResolverPolicyVirtualNetworkLinkName The name of the DNS resolver policy virtual network link for the DNS resolver policy.
*
* @return builder
*
*/
public Builder dnsResolverPolicyVirtualNetworkLinkName(Output dnsResolverPolicyVirtualNetworkLinkName) {
$.dnsResolverPolicyVirtualNetworkLinkName = dnsResolverPolicyVirtualNetworkLinkName;
return this;
}
/**
* @param dnsResolverPolicyVirtualNetworkLinkName The name of the DNS resolver policy virtual network link for the DNS resolver policy.
*
* @return builder
*
*/
public Builder dnsResolverPolicyVirtualNetworkLinkName(String dnsResolverPolicyVirtualNetworkLinkName) {
return dnsResolverPolicyVirtualNetworkLinkName(Output.of(dnsResolverPolicyVirtualNetworkLinkName));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetDnsResolverPolicyVirtualNetworkLinkArgs build() {
if ($.dnsResolverPolicyName == null) {
throw new MissingRequiredPropertyException("GetDnsResolverPolicyVirtualNetworkLinkArgs", "dnsResolverPolicyName");
}
if ($.dnsResolverPolicyVirtualNetworkLinkName == null) {
throw new MissingRequiredPropertyException("GetDnsResolverPolicyVirtualNetworkLinkArgs", "dnsResolverPolicyVirtualNetworkLinkName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetDnsResolverPolicyVirtualNetworkLinkArgs", "resourceGroupName");
}
return $;
}
}
}