com.pulumi.azure.privatedns.outputs.GetResolverDnsForwardingRulesetResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetResolverDnsForwardingRulesetResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists.
*
*/
private String location;
private String name;
/**
* @return The IDs list of the Private DNS Resolver Outbound Endpoints that are linked to the Private DNS Resolver Dns Forwarding Ruleset.
*
*/
private List privateDnsResolverOutboundEndpointIds;
private String resourceGroupName;
/**
* @return The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset.
*
*/
private Map tags;
private GetResolverDnsForwardingRulesetResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists.
*
*/
public String location() {
return this.location;
}
public String name() {
return this.name;
}
/**
* @return The IDs list of the Private DNS Resolver Outbound Endpoints that are linked to the Private DNS Resolver Dns Forwarding Ruleset.
*
*/
public List privateDnsResolverOutboundEndpointIds() {
return this.privateDnsResolverOutboundEndpointIds;
}
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* @return The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetResolverDnsForwardingRulesetResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String location;
private String name;
private List privateDnsResolverOutboundEndpointIds;
private String resourceGroupName;
private Map tags;
public Builder() {}
public Builder(GetResolverDnsForwardingRulesetResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.privateDnsResolverOutboundEndpointIds = defaults.privateDnsResolverOutboundEndpointIds;
this.resourceGroupName = defaults.resourceGroupName;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetResolverDnsForwardingRulesetResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetResolverDnsForwardingRulesetResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetResolverDnsForwardingRulesetResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateDnsResolverOutboundEndpointIds(List privateDnsResolverOutboundEndpointIds) {
if (privateDnsResolverOutboundEndpointIds == null) {
throw new MissingRequiredPropertyException("GetResolverDnsForwardingRulesetResult", "privateDnsResolverOutboundEndpointIds");
}
this.privateDnsResolverOutboundEndpointIds = privateDnsResolverOutboundEndpointIds;
return this;
}
public Builder privateDnsResolverOutboundEndpointIds(String... privateDnsResolverOutboundEndpointIds) {
return privateDnsResolverOutboundEndpointIds(List.of(privateDnsResolverOutboundEndpointIds));
}
@CustomType.Setter
public Builder resourceGroupName(String resourceGroupName) {
if (resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetResolverDnsForwardingRulesetResult", "resourceGroupName");
}
this.resourceGroupName = resourceGroupName;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetResolverDnsForwardingRulesetResult", "tags");
}
this.tags = tags;
return this;
}
public GetResolverDnsForwardingRulesetResult build() {
final var _resultValue = new GetResolverDnsForwardingRulesetResult();
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.privateDnsResolverOutboundEndpointIds = privateDnsResolverOutboundEndpointIds;
_resultValue.resourceGroupName = resourceGroupName;
_resultValue.tags = tags;
return _resultValue;
}
}
}