All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.network.inputs.CustomDnsConfigPropertiesFormatArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.azurenative.network.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;


/**
 * Contains custom Dns resolution configuration from customer.
 * 
 */
public final class CustomDnsConfigPropertiesFormatArgs extends com.pulumi.resources.ResourceArgs {

    public static final CustomDnsConfigPropertiesFormatArgs Empty = new CustomDnsConfigPropertiesFormatArgs();

    /**
     * Fqdn that resolves to private endpoint ip address.
     * 
     */
    @Import(name="fqdn")
    private @Nullable Output fqdn;

    /**
     * @return Fqdn that resolves to private endpoint ip address.
     * 
     */
    public Optional> fqdn() {
        return Optional.ofNullable(this.fqdn);
    }

    /**
     * A list of private ip addresses of the private endpoint.
     * 
     */
    @Import(name="ipAddresses")
    private @Nullable Output> ipAddresses;

    /**
     * @return A list of private ip addresses of the private endpoint.
     * 
     */
    public Optional>> ipAddresses() {
        return Optional.ofNullable(this.ipAddresses);
    }

    private CustomDnsConfigPropertiesFormatArgs() {}

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

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

    public static final class Builder {
        private CustomDnsConfigPropertiesFormatArgs $;

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

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

        /**
         * @param fqdn Fqdn that resolves to private endpoint ip address.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(@Nullable Output fqdn) {
            $.fqdn = fqdn;
            return this;
        }

        /**
         * @param fqdn Fqdn that resolves to private endpoint ip address.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(String fqdn) {
            return fqdn(Output.of(fqdn));
        }

        /**
         * @param ipAddresses A list of private ip addresses of the private endpoint.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(@Nullable Output> ipAddresses) {
            $.ipAddresses = ipAddresses;
            return this;
        }

        /**
         * @param ipAddresses A list of private ip addresses of the private endpoint.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(List ipAddresses) {
            return ipAddresses(Output.of(ipAddresses));
        }

        /**
         * @param ipAddresses A list of private ip addresses of the private endpoint.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(String... ipAddresses) {
            return ipAddresses(List.of(ipAddresses));
        }

        public CustomDnsConfigPropertiesFormatArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy