com.pulumi.azure.privatedns.inputs.GetResolverArgs Maven / Gradle / Ivy
// *** 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.azure.privatedns.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 GetResolverArgs extends com.pulumi.resources.InvokeArgs {
public static final GetResolverArgs Empty = new GetResolverArgs();
/**
* Name of the Private DNS Resolver.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return Name of the Private DNS Resolver.
*
*/
public Output name() {
return this.name;
}
/**
* Name of the Resource Group where the Private DNS Resolver exists.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return Name of the Resource Group where the Private DNS Resolver exists.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetResolverArgs() {}
private GetResolverArgs(GetResolverArgs $) {
this.name = $.name;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetResolverArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetResolverArgs $;
public Builder() {
$ = new GetResolverArgs();
}
public Builder(GetResolverArgs defaults) {
$ = new GetResolverArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Name of the Private DNS Resolver.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name Name of the Private DNS Resolver.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param resourceGroupName Name of the Resource Group where the Private DNS Resolver exists.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName Name of the Resource Group where the Private DNS Resolver exists.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetResolverArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetResolverArgs", "name");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetResolverArgs", "resourceGroupName");
}
return $;
}
}
}