// *** 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.privatelink.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EndpointCustomDnsConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final EndpointCustomDnsConfigArgs Empty = new EndpointCustomDnsConfigArgs();

    /**
     * The fully qualified domain name to the `private_dns_zone`.
     * 
     */
    @Import(name="fqdn")
    private @Nullable Output<String> fqdn;

    /**
     * @return The fully qualified domain name to the `private_dns_zone`.
     * 
     */
    public Optional<Output<String>> fqdn() {
        return Optional.ofNullable(this.fqdn);
    }

    /**
     * A list of all IP Addresses that map to the `private_dns_zone` fqdn.
     * 
     */
    @Import(name="ipAddresses")
    private @Nullable Output<List<String>> ipAddresses;

    /**
     * @return A list of all IP Addresses that map to the `private_dns_zone` fqdn.
     * 
     */
    public Optional<Output<List<String>>> ipAddresses() {
        return Optional.ofNullable(this.ipAddresses);
    }

    private EndpointCustomDnsConfigArgs() {}

    private EndpointCustomDnsConfigArgs(EndpointCustomDnsConfigArgs $) {
        this.fqdn = $.fqdn;
        this.ipAddresses = $.ipAddresses;
    }

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

    public static final class Builder {
        private EndpointCustomDnsConfigArgs $;

        public Builder() {
            $ = new EndpointCustomDnsConfigArgs();
        }

        public Builder(EndpointCustomDnsConfigArgs defaults) {
            $ = new EndpointCustomDnsConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param fqdn The fully qualified domain name to the `private_dns_zone`.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(@Nullable Output<String> fqdn) {
            $.fqdn = fqdn;
            return this;
        }

        /**
         * @param fqdn The fully qualified domain name to the `private_dns_zone`.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(String fqdn) {
            return fqdn(Output.of(fqdn));
        }

        /**
         * @param ipAddresses A list of all IP Addresses that map to the `private_dns_zone` fqdn.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(@Nullable Output<List<String>> ipAddresses) {
            $.ipAddresses = ipAddresses;
            return this;
        }

        /**
         * @param ipAddresses A list of all IP Addresses that map to the `private_dns_zone` fqdn.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(List<String> ipAddresses) {
            return ipAddresses(Output.of(ipAddresses));
        }

        /**
         * @param ipAddresses A list of all IP Addresses that map to the `private_dns_zone` fqdn.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(String... ipAddresses) {
            return ipAddresses(List.of(ipAddresses));
        }

        public EndpointCustomDnsConfigArgs build() {
            return $;
        }
    }

}
