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

com.pulumi.aws.finspace.inputs.KxEnvironmentCustomDnsConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.finspace.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final KxEnvironmentCustomDnsConfigurationArgs Empty = new KxEnvironmentCustomDnsConfigurationArgs();

    /**
     * IP address of the DNS server.
     * 
     */
    @Import(name="customDnsServerIp", required=true)
    private Output customDnsServerIp;

    /**
     * @return IP address of the DNS server.
     * 
     */
    public Output customDnsServerIp() {
        return this.customDnsServerIp;
    }

    /**
     * Name of the DNS server.
     * 
     */
    @Import(name="customDnsServerName", required=true)
    private Output customDnsServerName;

    /**
     * @return Name of the DNS server.
     * 
     */
    public Output customDnsServerName() {
        return this.customDnsServerName;
    }

    private KxEnvironmentCustomDnsConfigurationArgs() {}

    private KxEnvironmentCustomDnsConfigurationArgs(KxEnvironmentCustomDnsConfigurationArgs $) {
        this.customDnsServerIp = $.customDnsServerIp;
        this.customDnsServerName = $.customDnsServerName;
    }

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

    public static final class Builder {
        private KxEnvironmentCustomDnsConfigurationArgs $;

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

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

        /**
         * @param customDnsServerIp IP address of the DNS server.
         * 
         * @return builder
         * 
         */
        public Builder customDnsServerIp(Output customDnsServerIp) {
            $.customDnsServerIp = customDnsServerIp;
            return this;
        }

        /**
         * @param customDnsServerIp IP address of the DNS server.
         * 
         * @return builder
         * 
         */
        public Builder customDnsServerIp(String customDnsServerIp) {
            return customDnsServerIp(Output.of(customDnsServerIp));
        }

        /**
         * @param customDnsServerName Name of the DNS server.
         * 
         * @return builder
         * 
         */
        public Builder customDnsServerName(Output customDnsServerName) {
            $.customDnsServerName = customDnsServerName;
            return this;
        }

        /**
         * @param customDnsServerName Name of the DNS server.
         * 
         * @return builder
         * 
         */
        public Builder customDnsServerName(String customDnsServerName) {
            return customDnsServerName(Output.of(customDnsServerName));
        }

        public KxEnvironmentCustomDnsConfigurationArgs build() {
            if ($.customDnsServerIp == null) {
                throw new MissingRequiredPropertyException("KxEnvironmentCustomDnsConfigurationArgs", "customDnsServerIp");
            }
            if ($.customDnsServerName == null) {
                throw new MissingRequiredPropertyException("KxEnvironmentCustomDnsConfigurationArgs", "customDnsServerName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy