// *** 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.cloudformation.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 StackSetInstanceDeploymentTargetsArgs extends com.pulumi.resources.ResourceArgs {

    public static final StackSetInstanceDeploymentTargetsArgs Empty = new StackSetInstanceDeploymentTargetsArgs();

    /**
     * The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
     * 
     */
    @Import(name="organizationalUnitIds")
    private @Nullable Output<List<String>> organizationalUnitIds;

    /**
     * @return The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
     * 
     */
    public Optional<Output<List<String>>> organizationalUnitIds() {
        return Optional.ofNullable(this.organizationalUnitIds);
    }

    private StackSetInstanceDeploymentTargetsArgs() {}

    private StackSetInstanceDeploymentTargetsArgs(StackSetInstanceDeploymentTargetsArgs $) {
        this.organizationalUnitIds = $.organizationalUnitIds;
    }

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

    public static final class Builder {
        private StackSetInstanceDeploymentTargetsArgs $;

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

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

        /**
         * @param organizationalUnitIds The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitIds(@Nullable Output<List<String>> organizationalUnitIds) {
            $.organizationalUnitIds = organizationalUnitIds;
            return this;
        }

        /**
         * @param organizationalUnitIds The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitIds(List<String> organizationalUnitIds) {
            return organizationalUnitIds(Output.of(organizationalUnitIds));
        }

        /**
         * @param organizationalUnitIds The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitIds(String... organizationalUnitIds) {
            return organizationalUnitIds(List.of(organizationalUnitIds));
        }

        public StackSetInstanceDeploymentTargetsArgs build() {
            return $;
        }
    }

}
