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

com.pulumi.azurenative.awsconnector.inputs.StackInstancesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.DeploymentTargetsArgs;
import com.pulumi.azurenative.awsconnector.inputs.ParameterArgs;
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;


/**
 * Definition of StackInstances
 * 
 */
public final class StackInstancesArgs extends com.pulumi.resources.ResourceArgs {

    public static final StackInstancesArgs Empty = new StackInstancesArgs();

    /**
     * The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
     * 
     */
    @Import(name="deploymentTargets")
    private @Nullable Output deploymentTargets;

    /**
     * @return The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
     * 
     */
    public Optional> deploymentTargets() {
        return Optional.ofNullable(this.deploymentTargets);
    }

    /**
     * A list of stack set parameters whose values you want to override in the selected stack instances.
     * 
     */
    @Import(name="parameterOverrides")
    private @Nullable Output> parameterOverrides;

    /**
     * @return A list of stack set parameters whose values you want to override in the selected stack instances.
     * 
     */
    public Optional>> parameterOverrides() {
        return Optional.ofNullable(this.parameterOverrides);
    }

    /**
     * The names of one or more Regions where you want to create stack instances using the specified AWS account(s).
     * 
     */
    @Import(name="regions")
    private @Nullable Output> regions;

    /**
     * @return The names of one or more Regions where you want to create stack instances using the specified AWS account(s).
     * 
     */
    public Optional>> regions() {
        return Optional.ofNullable(this.regions);
    }

    private StackInstancesArgs() {}

    private StackInstancesArgs(StackInstancesArgs $) {
        this.deploymentTargets = $.deploymentTargets;
        this.parameterOverrides = $.parameterOverrides;
        this.regions = $.regions;
    }

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

    public static final class Builder {
        private StackInstancesArgs $;

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

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

        /**
         * @param deploymentTargets The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
         * 
         * @return builder
         * 
         */
        public Builder deploymentTargets(@Nullable Output deploymentTargets) {
            $.deploymentTargets = deploymentTargets;
            return this;
        }

        /**
         * @param deploymentTargets The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
         * 
         * @return builder
         * 
         */
        public Builder deploymentTargets(DeploymentTargetsArgs deploymentTargets) {
            return deploymentTargets(Output.of(deploymentTargets));
        }

        /**
         * @param parameterOverrides A list of stack set parameters whose values you want to override in the selected stack instances.
         * 
         * @return builder
         * 
         */
        public Builder parameterOverrides(@Nullable Output> parameterOverrides) {
            $.parameterOverrides = parameterOverrides;
            return this;
        }

        /**
         * @param parameterOverrides A list of stack set parameters whose values you want to override in the selected stack instances.
         * 
         * @return builder
         * 
         */
        public Builder parameterOverrides(List parameterOverrides) {
            return parameterOverrides(Output.of(parameterOverrides));
        }

        /**
         * @param parameterOverrides A list of stack set parameters whose values you want to override in the selected stack instances.
         * 
         * @return builder
         * 
         */
        public Builder parameterOverrides(ParameterArgs... parameterOverrides) {
            return parameterOverrides(List.of(parameterOverrides));
        }

        /**
         * @param regions The names of one or more Regions where you want to create stack instances using the specified AWS account(s).
         * 
         * @return builder
         * 
         */
        public Builder regions(@Nullable Output> regions) {
            $.regions = regions;
            return this;
        }

        /**
         * @param regions The names of one or more Regions where you want to create stack instances using the specified AWS account(s).
         * 
         * @return builder
         * 
         */
        public Builder regions(List regions) {
            return regions(Output.of(regions));
        }

        /**
         * @param regions The names of one or more Regions where you want to create stack instances using the specified AWS account(s).
         * 
         * @return builder
         * 
         */
        public Builder regions(String... regions) {
            return regions(List.of(regions));
        }

        public StackInstancesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy