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

com.pulumi.aws.elasticbeanstalk.inputs.EnvironmentState Maven / Gradle / Ivy

// *** 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.elasticbeanstalk.inputs;

import com.pulumi.aws.elasticbeanstalk.inputs.EnvironmentAllSettingArgs;
import com.pulumi.aws.elasticbeanstalk.inputs.EnvironmentSettingArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final EnvironmentState Empty = new EnvironmentState();

    /**
     * List of all option settings configured in this Environment. These
     * are a combination of default settings and their overrides from `setting` in
     * the configuration.
     * 
     */
    @Import(name="allSettings")
    private @Nullable Output> allSettings;

    /**
     * @return List of all option settings configured in this Environment. These
     * are a combination of default settings and their overrides from `setting` in
     * the configuration.
     * 
     */
    public Optional>> allSettings() {
        return Optional.ofNullable(this.allSettings);
    }

    /**
     * Name of the application that contains the version
     * to be deployed
     * 
     */
    @Import(name="application")
    private @Nullable Output application;

    /**
     * @return Name of the application that contains the version
     * to be deployed
     * 
     */
    public Optional> application() {
        return Optional.ofNullable(this.application);
    }

    @Import(name="arn")
    private @Nullable Output arn;

    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The autoscaling groups used by this Environment.
     * 
     */
    @Import(name="autoscalingGroups")
    private @Nullable Output> autoscalingGroups;

    /**
     * @return The autoscaling groups used by this Environment.
     * 
     */
    public Optional>> autoscalingGroups() {
        return Optional.ofNullable(this.autoscalingGroups);
    }

    /**
     * Fully qualified DNS name for this Environment.
     * 
     */
    @Import(name="cname")
    private @Nullable Output cname;

    /**
     * @return Fully qualified DNS name for this Environment.
     * 
     */
    public Optional> cname() {
        return Optional.ofNullable(this.cname);
    }

    /**
     * Prefix to use for the fully qualified DNS name of
     * the Environment.
     * 
     */
    @Import(name="cnamePrefix")
    private @Nullable Output cnamePrefix;

    /**
     * @return Prefix to use for the fully qualified DNS name of
     * the Environment.
     * 
     */
    public Optional> cnamePrefix() {
        return Optional.ofNullable(this.cnamePrefix);
    }

    /**
     * Short description of the Environment
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Short description of the Environment
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The URL to the Load Balancer for this Environment
     * 
     */
    @Import(name="endpointUrl")
    private @Nullable Output endpointUrl;

    /**
     * @return The URL to the Load Balancer for this Environment
     * 
     */
    public Optional> endpointUrl() {
        return Optional.ofNullable(this.endpointUrl);
    }

    /**
     * Instances used by this Environment.
     * 
     */
    @Import(name="instances")
    private @Nullable Output> instances;

    /**
     * @return Instances used by this Environment.
     * 
     */
    public Optional>> instances() {
        return Optional.ofNullable(this.instances);
    }

    /**
     * Launch configurations in use by this Environment.
     * 
     */
    @Import(name="launchConfigurations")
    private @Nullable Output> launchConfigurations;

    /**
     * @return Launch configurations in use by this Environment.
     * 
     */
    public Optional>> launchConfigurations() {
        return Optional.ofNullable(this.launchConfigurations);
    }

    /**
     * Elastic load balancers in use by this Environment.
     * 
     */
    @Import(name="loadBalancers")
    private @Nullable Output> loadBalancers;

    /**
     * @return Elastic load balancers in use by this Environment.
     * 
     */
    public Optional>> loadBalancers() {
        return Optional.ofNullable(this.loadBalancers);
    }

    /**
     * A unique name for this Environment. This name is used
     * in the application URL
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return A unique name for this Environment. This name is used
     * in the application URL
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
     * to use in deployment
     * 
     */
    @Import(name="platformArn")
    private @Nullable Output platformArn;

    /**
     * @return The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
     * to use in deployment
     * 
     */
    public Optional> platformArn() {
        return Optional.ofNullable(this.platformArn);
    }

    /**
     * The time between polling the AWS API to
     * check if changes have been applied. Use this to adjust the rate of API calls
     * for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
     * use the default behavior, which is an exponential backoff
     * 
     */
    @Import(name="pollInterval")
    private @Nullable Output pollInterval;

    /**
     * @return The time between polling the AWS API to
     * check if changes have been applied. Use this to adjust the rate of API calls
     * for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
     * use the default behavior, which is an exponential backoff
     * 
     */
    public Optional> pollInterval() {
        return Optional.ofNullable(this.pollInterval);
    }

    /**
     * SQS queues in use by this Environment.
     * 
     */
    @Import(name="queues")
    private @Nullable Output> queues;

    /**
     * @return SQS queues in use by this Environment.
     * 
     */
    public Optional>> queues() {
        return Optional.ofNullable(this.queues);
    }

    /**
     * Option settings to configure the new Environment. These
     * override specific values that are set as defaults. The format is detailed
     * below in Option Settings
     * 
     */
    @Import(name="settings")
    private @Nullable Output> settings;

    /**
     * @return Option settings to configure the new Environment. These
     * override specific values that are set as defaults. The format is detailed
     * below in Option Settings
     * 
     */
    public Optional>> settings() {
        return Optional.ofNullable(this.settings);
    }

    /**
     * A solution stack to base your environment
     * off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
     * 
     */
    @Import(name="solutionStackName")
    private @Nullable Output solutionStackName;

    /**
     * @return A solution stack to base your environment
     * off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
     * 
     */
    public Optional> solutionStackName() {
        return Optional.ofNullable(this.solutionStackName);
    }

    /**
     * A set of tags to apply to the Environment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A set of tags to apply to the Environment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * The name of the Elastic Beanstalk Configuration
     * template to use in deployment
     * 
     */
    @Import(name="templateName")
    private @Nullable Output templateName;

    /**
     * @return The name of the Elastic Beanstalk Configuration
     * template to use in deployment
     * 
     */
    public Optional> templateName() {
        return Optional.ofNullable(this.templateName);
    }

    /**
     * Elastic Beanstalk Environment tier. Valid values are `Worker`
     * or `WebServer`. If tier is left blank `WebServer` will be used.
     * 
     */
    @Import(name="tier")
    private @Nullable Output tier;

    /**
     * @return Elastic Beanstalk Environment tier. Valid values are `Worker`
     * or `WebServer`. If tier is left blank `WebServer` will be used.
     * 
     */
    public Optional> tier() {
        return Optional.ofNullable(this.tier);
    }

    /**
     * Autoscaling triggers in use by this Environment.
     * 
     */
    @Import(name="triggers")
    private @Nullable Output> triggers;

    /**
     * @return Autoscaling triggers in use by this Environment.
     * 
     */
    public Optional>> triggers() {
        return Optional.ofNullable(this.triggers);
    }

    /**
     * The name of the Elastic Beanstalk Application Version
     * to use in deployment.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The name of the Elastic Beanstalk Application Version
     * to use in deployment.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    /**
     * The maximum
     * [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
     * wait for an Elastic Beanstalk Environment to be in a ready state before timing
     * out.
     * 
     */
    @Import(name="waitForReadyTimeout")
    private @Nullable Output waitForReadyTimeout;

    /**
     * @return The maximum
     * [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
     * wait for an Elastic Beanstalk Environment to be in a ready state before timing
     * out.
     * 
     */
    public Optional> waitForReadyTimeout() {
        return Optional.ofNullable(this.waitForReadyTimeout);
    }

    private EnvironmentState() {}

    private EnvironmentState(EnvironmentState $) {
        this.allSettings = $.allSettings;
        this.application = $.application;
        this.arn = $.arn;
        this.autoscalingGroups = $.autoscalingGroups;
        this.cname = $.cname;
        this.cnamePrefix = $.cnamePrefix;
        this.description = $.description;
        this.endpointUrl = $.endpointUrl;
        this.instances = $.instances;
        this.launchConfigurations = $.launchConfigurations;
        this.loadBalancers = $.loadBalancers;
        this.name = $.name;
        this.platformArn = $.platformArn;
        this.pollInterval = $.pollInterval;
        this.queues = $.queues;
        this.settings = $.settings;
        this.solutionStackName = $.solutionStackName;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.templateName = $.templateName;
        this.tier = $.tier;
        this.triggers = $.triggers;
        this.version = $.version;
        this.waitForReadyTimeout = $.waitForReadyTimeout;
    }

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

    public static final class Builder {
        private EnvironmentState $;

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

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

        /**
         * @param allSettings List of all option settings configured in this Environment. These
         * are a combination of default settings and their overrides from `setting` in
         * the configuration.
         * 
         * @return builder
         * 
         */
        public Builder allSettings(@Nullable Output> allSettings) {
            $.allSettings = allSettings;
            return this;
        }

        /**
         * @param allSettings List of all option settings configured in this Environment. These
         * are a combination of default settings and their overrides from `setting` in
         * the configuration.
         * 
         * @return builder
         * 
         */
        public Builder allSettings(List allSettings) {
            return allSettings(Output.of(allSettings));
        }

        /**
         * @param allSettings List of all option settings configured in this Environment. These
         * are a combination of default settings and their overrides from `setting` in
         * the configuration.
         * 
         * @return builder
         * 
         */
        public Builder allSettings(EnvironmentAllSettingArgs... allSettings) {
            return allSettings(List.of(allSettings));
        }

        /**
         * @param application Name of the application that contains the version
         * to be deployed
         * 
         * @return builder
         * 
         */
        public Builder application(@Nullable Output application) {
            $.application = application;
            return this;
        }

        /**
         * @param application Name of the application that contains the version
         * to be deployed
         * 
         * @return builder
         * 
         */
        public Builder application(String application) {
            return application(Output.of(application));
        }

        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param autoscalingGroups The autoscaling groups used by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder autoscalingGroups(@Nullable Output> autoscalingGroups) {
            $.autoscalingGroups = autoscalingGroups;
            return this;
        }

        /**
         * @param autoscalingGroups The autoscaling groups used by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder autoscalingGroups(List autoscalingGroups) {
            return autoscalingGroups(Output.of(autoscalingGroups));
        }

        /**
         * @param autoscalingGroups The autoscaling groups used by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder autoscalingGroups(String... autoscalingGroups) {
            return autoscalingGroups(List.of(autoscalingGroups));
        }

        /**
         * @param cname Fully qualified DNS name for this Environment.
         * 
         * @return builder
         * 
         */
        public Builder cname(@Nullable Output cname) {
            $.cname = cname;
            return this;
        }

        /**
         * @param cname Fully qualified DNS name for this Environment.
         * 
         * @return builder
         * 
         */
        public Builder cname(String cname) {
            return cname(Output.of(cname));
        }

        /**
         * @param cnamePrefix Prefix to use for the fully qualified DNS name of
         * the Environment.
         * 
         * @return builder
         * 
         */
        public Builder cnamePrefix(@Nullable Output cnamePrefix) {
            $.cnamePrefix = cnamePrefix;
            return this;
        }

        /**
         * @param cnamePrefix Prefix to use for the fully qualified DNS name of
         * the Environment.
         * 
         * @return builder
         * 
         */
        public Builder cnamePrefix(String cnamePrefix) {
            return cnamePrefix(Output.of(cnamePrefix));
        }

        /**
         * @param description Short description of the Environment
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Short description of the Environment
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param endpointUrl The URL to the Load Balancer for this Environment
         * 
         * @return builder
         * 
         */
        public Builder endpointUrl(@Nullable Output endpointUrl) {
            $.endpointUrl = endpointUrl;
            return this;
        }

        /**
         * @param endpointUrl The URL to the Load Balancer for this Environment
         * 
         * @return builder
         * 
         */
        public Builder endpointUrl(String endpointUrl) {
            return endpointUrl(Output.of(endpointUrl));
        }

        /**
         * @param instances Instances used by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder instances(@Nullable Output> instances) {
            $.instances = instances;
            return this;
        }

        /**
         * @param instances Instances used by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder instances(List instances) {
            return instances(Output.of(instances));
        }

        /**
         * @param instances Instances used by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder instances(String... instances) {
            return instances(List.of(instances));
        }

        /**
         * @param launchConfigurations Launch configurations in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder launchConfigurations(@Nullable Output> launchConfigurations) {
            $.launchConfigurations = launchConfigurations;
            return this;
        }

        /**
         * @param launchConfigurations Launch configurations in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder launchConfigurations(List launchConfigurations) {
            return launchConfigurations(Output.of(launchConfigurations));
        }

        /**
         * @param launchConfigurations Launch configurations in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder launchConfigurations(String... launchConfigurations) {
            return launchConfigurations(List.of(launchConfigurations));
        }

        /**
         * @param loadBalancers Elastic load balancers in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancers(@Nullable Output> loadBalancers) {
            $.loadBalancers = loadBalancers;
            return this;
        }

        /**
         * @param loadBalancers Elastic load balancers in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancers(List loadBalancers) {
            return loadBalancers(Output.of(loadBalancers));
        }

        /**
         * @param loadBalancers Elastic load balancers in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancers(String... loadBalancers) {
            return loadBalancers(List.of(loadBalancers));
        }

        /**
         * @param name A unique name for this Environment. This name is used
         * in the application URL
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name A unique name for this Environment. This name is used
         * in the application URL
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param platformArn The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
         * to use in deployment
         * 
         * @return builder
         * 
         */
        public Builder platformArn(@Nullable Output platformArn) {
            $.platformArn = platformArn;
            return this;
        }

        /**
         * @param platformArn The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
         * to use in deployment
         * 
         * @return builder
         * 
         */
        public Builder platformArn(String platformArn) {
            return platformArn(Output.of(platformArn));
        }

        /**
         * @param pollInterval The time between polling the AWS API to
         * check if changes have been applied. Use this to adjust the rate of API calls
         * for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
         * use the default behavior, which is an exponential backoff
         * 
         * @return builder
         * 
         */
        public Builder pollInterval(@Nullable Output pollInterval) {
            $.pollInterval = pollInterval;
            return this;
        }

        /**
         * @param pollInterval The time between polling the AWS API to
         * check if changes have been applied. Use this to adjust the rate of API calls
         * for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
         * use the default behavior, which is an exponential backoff
         * 
         * @return builder
         * 
         */
        public Builder pollInterval(String pollInterval) {
            return pollInterval(Output.of(pollInterval));
        }

        /**
         * @param queues SQS queues in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder queues(@Nullable Output> queues) {
            $.queues = queues;
            return this;
        }

        /**
         * @param queues SQS queues in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder queues(List queues) {
            return queues(Output.of(queues));
        }

        /**
         * @param queues SQS queues in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder queues(String... queues) {
            return queues(List.of(queues));
        }

        /**
         * @param settings Option settings to configure the new Environment. These
         * override specific values that are set as defaults. The format is detailed
         * below in Option Settings
         * 
         * @return builder
         * 
         */
        public Builder settings(@Nullable Output> settings) {
            $.settings = settings;
            return this;
        }

        /**
         * @param settings Option settings to configure the new Environment. These
         * override specific values that are set as defaults. The format is detailed
         * below in Option Settings
         * 
         * @return builder
         * 
         */
        public Builder settings(List settings) {
            return settings(Output.of(settings));
        }

        /**
         * @param settings Option settings to configure the new Environment. These
         * override specific values that are set as defaults. The format is detailed
         * below in Option Settings
         * 
         * @return builder
         * 
         */
        public Builder settings(EnvironmentSettingArgs... settings) {
            return settings(List.of(settings));
        }

        /**
         * @param solutionStackName A solution stack to base your environment
         * off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
         * 
         * @return builder
         * 
         */
        public Builder solutionStackName(@Nullable Output solutionStackName) {
            $.solutionStackName = solutionStackName;
            return this;
        }

        /**
         * @param solutionStackName A solution stack to base your environment
         * off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
         * 
         * @return builder
         * 
         */
        public Builder solutionStackName(String solutionStackName) {
            return solutionStackName(Output.of(solutionStackName));
        }

        /**
         * @param tags A set of tags to apply to the Environment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A set of tags to apply to the Environment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param templateName The name of the Elastic Beanstalk Configuration
         * template to use in deployment
         * 
         * @return builder
         * 
         */
        public Builder templateName(@Nullable Output templateName) {
            $.templateName = templateName;
            return this;
        }

        /**
         * @param templateName The name of the Elastic Beanstalk Configuration
         * template to use in deployment
         * 
         * @return builder
         * 
         */
        public Builder templateName(String templateName) {
            return templateName(Output.of(templateName));
        }

        /**
         * @param tier Elastic Beanstalk Environment tier. Valid values are `Worker`
         * or `WebServer`. If tier is left blank `WebServer` will be used.
         * 
         * @return builder
         * 
         */
        public Builder tier(@Nullable Output tier) {
            $.tier = tier;
            return this;
        }

        /**
         * @param tier Elastic Beanstalk Environment tier. Valid values are `Worker`
         * or `WebServer`. If tier is left blank `WebServer` will be used.
         * 
         * @return builder
         * 
         */
        public Builder tier(String tier) {
            return tier(Output.of(tier));
        }

        /**
         * @param triggers Autoscaling triggers in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder triggers(@Nullable Output> triggers) {
            $.triggers = triggers;
            return this;
        }

        /**
         * @param triggers Autoscaling triggers in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder triggers(List triggers) {
            return triggers(Output.of(triggers));
        }

        /**
         * @param triggers Autoscaling triggers in use by this Environment.
         * 
         * @return builder
         * 
         */
        public Builder triggers(String... triggers) {
            return triggers(List.of(triggers));
        }

        /**
         * @param version The name of the Elastic Beanstalk Application Version
         * to use in deployment.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The name of the Elastic Beanstalk Application Version
         * to use in deployment.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        /**
         * @param waitForReadyTimeout The maximum
         * [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
         * wait for an Elastic Beanstalk Environment to be in a ready state before timing
         * out.
         * 
         * @return builder
         * 
         */
        public Builder waitForReadyTimeout(@Nullable Output waitForReadyTimeout) {
            $.waitForReadyTimeout = waitForReadyTimeout;
            return this;
        }

        /**
         * @param waitForReadyTimeout The maximum
         * [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
         * wait for an Elastic Beanstalk Environment to be in a ready state before timing
         * out.
         * 
         * @return builder
         * 
         */
        public Builder waitForReadyTimeout(String waitForReadyTimeout) {
            return waitForReadyTimeout(Output.of(waitForReadyTimeout));
        }

        public EnvironmentState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy