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

com.pulumi.aws.directoryservice.ConditionalForwaderArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.directoryservice;

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


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

    public static final ConditionalForwaderArgs Empty = new ConditionalForwaderArgs();

    /**
     * ID of directory.
     * 
     */
    @Import(name="directoryId", required=true)
    private Output directoryId;

    /**
     * @return ID of directory.
     * 
     */
    public Output directoryId() {
        return this.directoryId;
    }

    /**
     * A list of forwarder IP addresses.
     * 
     */
    @Import(name="dnsIps", required=true)
    private Output> dnsIps;

    /**
     * @return A list of forwarder IP addresses.
     * 
     */
    public Output> dnsIps() {
        return this.dnsIps;
    }

    /**
     * The fully qualified domain name of the remote domain for which forwarders will be used.
     * 
     */
    @Import(name="remoteDomainName", required=true)
    private Output remoteDomainName;

    /**
     * @return The fully qualified domain name of the remote domain for which forwarders will be used.
     * 
     */
    public Output remoteDomainName() {
        return this.remoteDomainName;
    }

    private ConditionalForwaderArgs() {}

    private ConditionalForwaderArgs(ConditionalForwaderArgs $) {
        this.directoryId = $.directoryId;
        this.dnsIps = $.dnsIps;
        this.remoteDomainName = $.remoteDomainName;
    }

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

    public static final class Builder {
        private ConditionalForwaderArgs $;

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

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

        /**
         * @param directoryId ID of directory.
         * 
         * @return builder
         * 
         */
        public Builder directoryId(Output directoryId) {
            $.directoryId = directoryId;
            return this;
        }

        /**
         * @param directoryId ID of directory.
         * 
         * @return builder
         * 
         */
        public Builder directoryId(String directoryId) {
            return directoryId(Output.of(directoryId));
        }

        /**
         * @param dnsIps A list of forwarder IP addresses.
         * 
         * @return builder
         * 
         */
        public Builder dnsIps(Output> dnsIps) {
            $.dnsIps = dnsIps;
            return this;
        }

        /**
         * @param dnsIps A list of forwarder IP addresses.
         * 
         * @return builder
         * 
         */
        public Builder dnsIps(List dnsIps) {
            return dnsIps(Output.of(dnsIps));
        }

        /**
         * @param dnsIps A list of forwarder IP addresses.
         * 
         * @return builder
         * 
         */
        public Builder dnsIps(String... dnsIps) {
            return dnsIps(List.of(dnsIps));
        }

        /**
         * @param remoteDomainName The fully qualified domain name of the remote domain for which forwarders will be used.
         * 
         * @return builder
         * 
         */
        public Builder remoteDomainName(Output remoteDomainName) {
            $.remoteDomainName = remoteDomainName;
            return this;
        }

        /**
         * @param remoteDomainName The fully qualified domain name of the remote domain for which forwarders will be used.
         * 
         * @return builder
         * 
         */
        public Builder remoteDomainName(String remoteDomainName) {
            return remoteDomainName(Output.of(remoteDomainName));
        }

        public ConditionalForwaderArgs build() {
            if ($.directoryId == null) {
                throw new MissingRequiredPropertyException("ConditionalForwaderArgs", "directoryId");
            }
            if ($.dnsIps == null) {
                throw new MissingRequiredPropertyException("ConditionalForwaderArgs", "dnsIps");
            }
            if ($.remoteDomainName == null) {
                throw new MissingRequiredPropertyException("ConditionalForwaderArgs", "remoteDomainName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy