// *** 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 java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetResolverVirtualNetworkLinkResult {
    private String dnsForwardingRulesetId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The metadata attached to the Private DNS Resolver Virtual Network Link.
     * 
     */
    private Map<String,String> metadata;
    private String name;
    /**
     * @return The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link.
     * 
     */
    private String virtualNetworkId;

    private GetResolverVirtualNetworkLinkResult() {}
    public String dnsForwardingRulesetId() {
        return this.dnsForwardingRulesetId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The metadata attached to the Private DNS Resolver Virtual Network Link.
     * 
     */
    public Map<String,String> metadata() {
        return this.metadata;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link.
     * 
     */
    public String virtualNetworkId() {
        return this.virtualNetworkId;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetResolverVirtualNetworkLinkResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dnsForwardingRulesetId;
        private String id;
        private Map<String,String> metadata;
        private String name;
        private String virtualNetworkId;
        public Builder() {}
        public Builder(GetResolverVirtualNetworkLinkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dnsForwardingRulesetId = defaults.dnsForwardingRulesetId;
    	      this.id = defaults.id;
    	      this.metadata = defaults.metadata;
    	      this.name = defaults.name;
    	      this.virtualNetworkId = defaults.virtualNetworkId;
        }

        @CustomType.Setter
        public Builder dnsForwardingRulesetId(String dnsForwardingRulesetId) {
            this.dnsForwardingRulesetId = Objects.requireNonNull(dnsForwardingRulesetId);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder metadata(Map<String,String> metadata) {
            this.metadata = Objects.requireNonNull(metadata);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder virtualNetworkId(String virtualNetworkId) {
            this.virtualNetworkId = Objects.requireNonNull(virtualNetworkId);
            return this;
        }
        public GetResolverVirtualNetworkLinkResult build() {
            final var o = new GetResolverVirtualNetworkLinkResult();
            o.dnsForwardingRulesetId = dnsForwardingRulesetId;
            o.id = id;
            o.metadata = metadata;
            o.name = name;
            o.virtualNetworkId = virtualNetworkId;
            return o;
        }
    }
}
