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

@CustomType
public final class GetZoneVirtualNetworkLinkResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    private String privateDnsZoneName;
    /**
     * @return Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not.
     * 
     */
    private Boolean registrationEnabled;
    private String resourceGroupName;
    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    private Map<String,String> tags;
    /**
     * @return The ID of the Virtual Network that is linked to the DNS Zone.
     * 
     */
    private String virtualNetworkId;

    private GetZoneVirtualNetworkLinkResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    public String privateDnsZoneName() {
        return this.privateDnsZoneName;
    }
    /**
     * @return Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not.
     * 
     */
    public Boolean registrationEnabled() {
        return this.registrationEnabled;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }
    /**
     * @return The ID of the Virtual Network that is linked to the DNS Zone.
     * 
     */
    public String virtualNetworkId() {
        return this.virtualNetworkId;
    }

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

    public static Builder builder(GetZoneVirtualNetworkLinkResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String name;
        private String privateDnsZoneName;
        private Boolean registrationEnabled;
        private String resourceGroupName;
        private Map<String,String> tags;
        private String virtualNetworkId;
        public Builder() {}
        public Builder(GetZoneVirtualNetworkLinkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.privateDnsZoneName = defaults.privateDnsZoneName;
    	      this.registrationEnabled = defaults.registrationEnabled;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.tags = defaults.tags;
    	      this.virtualNetworkId = defaults.virtualNetworkId;
        }

        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder privateDnsZoneName(String privateDnsZoneName) {
            this.privateDnsZoneName = Objects.requireNonNull(privateDnsZoneName);
            return this;
        }
        @CustomType.Setter
        public Builder registrationEnabled(Boolean registrationEnabled) {
            this.registrationEnabled = Objects.requireNonNull(registrationEnabled);
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            this.resourceGroupName = Objects.requireNonNull(resourceGroupName);
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        @CustomType.Setter
        public Builder virtualNetworkId(String virtualNetworkId) {
            this.virtualNetworkId = Objects.requireNonNull(virtualNetworkId);
            return this;
        }
        public GetZoneVirtualNetworkLinkResult build() {
            final var o = new GetZoneVirtualNetworkLinkResult();
            o.id = id;
            o.name = name;
            o.privateDnsZoneName = privateDnsZoneName;
            o.registrationEnabled = registrationEnabled;
            o.resourceGroupName = resourceGroupName;
            o.tags = tags;
            o.virtualNetworkId = virtualNetworkId;
            return o;
        }
    }
}
