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

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

There is a newer version: 2.89.2
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.enums.Tier;
import com.pulumi.azurenative.awsconnector.inputs.OptionSettingArgs;
import com.pulumi.azurenative.awsconnector.inputs.TagArgs;
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 awsElasticBeanstalkEnvironment
 * 
 */
public final class AwsElasticBeanstalkEnvironmentPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsElasticBeanstalkEnvironmentPropertiesArgs Empty = new AwsElasticBeanstalkEnvironmentPropertiesArgs();

    /**
     * The name of the application that is associated with this environment.
     * 
     */
    @Import(name="applicationName")
    private @Nullable Output applicationName;

    /**
     * @return The name of the application that is associated with this environment.
     * 
     */
    public Optional> applicationName() {
        return Optional.ofNullable(this.applicationName);
    }

    /**
     * If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
     * 
     */
    @Import(name="cnamePrefix")
    private @Nullable Output cnamePrefix;

    /**
     * @return If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
     * 
     */
    public Optional> cnamePrefix() {
        return Optional.ofNullable(this.cnamePrefix);
    }

    /**
     * Your description for this environment.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Your description for this environment.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Property endpointURL
     * 
     */
    @Import(name="endpointURL")
    private @Nullable Output endpointURL;

    /**
     * @return Property endpointURL
     * 
     */
    public Optional> endpointURL() {
        return Optional.ofNullable(this.endpointURL);
    }

    /**
     * A unique name for the environment.
     * 
     */
    @Import(name="environmentName")
    private @Nullable Output environmentName;

    /**
     * @return A unique name for the environment.
     * 
     */
    public Optional> environmentName() {
        return Optional.ofNullable(this.environmentName);
    }

    /**
     * The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
     * 
     */
    @Import(name="operationsRole")
    private @Nullable Output operationsRole;

    /**
     * @return The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
     * 
     */
    public Optional> operationsRole() {
        return Optional.ofNullable(this.operationsRole);
    }

    /**
     * Key-value pairs defining configuration options for this environment, such as the instance type.
     * 
     */
    @Import(name="optionSettings")
    private @Nullable Output> optionSettings;

    /**
     * @return Key-value pairs defining configuration options for this environment, such as the instance type.
     * 
     */
    public Optional>> optionSettings() {
        return Optional.ofNullable(this.optionSettings);
    }

    /**
     * The Amazon Resource Name (ARN) of the custom platform to use with the environment.
     * 
     */
    @Import(name="platformArn")
    private @Nullable Output platformArn;

    /**
     * @return The Amazon Resource Name (ARN) of the custom platform to use with the environment.
     * 
     */
    public Optional> platformArn() {
        return Optional.ofNullable(this.platformArn);
    }

    /**
     * The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
     * 
     */
    @Import(name="solutionStackName")
    private @Nullable Output solutionStackName;

    /**
     * @return The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
     * 
     */
    public Optional> solutionStackName() {
        return Optional.ofNullable(this.solutionStackName);
    }

    /**
     * Specifies the tags applied to resources in the environment.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Specifies the tags applied to resources in the environment.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The name of the Elastic Beanstalk configuration template to use with the environment.
     * 
     */
    @Import(name="templateName")
    private @Nullable Output templateName;

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

    /**
     * Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
     * 
     */
    @Import(name="tier")
    private @Nullable Output tier;

    /**
     * @return Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
     * 
     */
    public Optional> tier() {
        return Optional.ofNullable(this.tier);
    }

    /**
     * The name of the application version to deploy.
     * 
     */
    @Import(name="versionLabel")
    private @Nullable Output versionLabel;

    /**
     * @return The name of the application version to deploy.
     * 
     */
    public Optional> versionLabel() {
        return Optional.ofNullable(this.versionLabel);
    }

    private AwsElasticBeanstalkEnvironmentPropertiesArgs() {}

    private AwsElasticBeanstalkEnvironmentPropertiesArgs(AwsElasticBeanstalkEnvironmentPropertiesArgs $) {
        this.applicationName = $.applicationName;
        this.cnamePrefix = $.cnamePrefix;
        this.description = $.description;
        this.endpointURL = $.endpointURL;
        this.environmentName = $.environmentName;
        this.operationsRole = $.operationsRole;
        this.optionSettings = $.optionSettings;
        this.platformArn = $.platformArn;
        this.solutionStackName = $.solutionStackName;
        this.tags = $.tags;
        this.templateName = $.templateName;
        this.tier = $.tier;
        this.versionLabel = $.versionLabel;
    }

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

    public static final class Builder {
        private AwsElasticBeanstalkEnvironmentPropertiesArgs $;

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

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

        /**
         * @param applicationName The name of the application that is associated with this environment.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(@Nullable Output applicationName) {
            $.applicationName = applicationName;
            return this;
        }

        /**
         * @param applicationName The name of the application that is associated with this environment.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(String applicationName) {
            return applicationName(Output.of(applicationName));
        }

        /**
         * @param cnamePrefix If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
         * 
         * @return builder
         * 
         */
        public Builder cnamePrefix(@Nullable Output cnamePrefix) {
            $.cnamePrefix = cnamePrefix;
            return this;
        }

        /**
         * @param cnamePrefix If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
         * 
         * @return builder
         * 
         */
        public Builder cnamePrefix(String cnamePrefix) {
            return cnamePrefix(Output.of(cnamePrefix));
        }

        /**
         * @param description Your description for this environment.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Your description for this environment.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param endpointURL Property endpointURL
         * 
         * @return builder
         * 
         */
        public Builder endpointURL(@Nullable Output endpointURL) {
            $.endpointURL = endpointURL;
            return this;
        }

        /**
         * @param endpointURL Property endpointURL
         * 
         * @return builder
         * 
         */
        public Builder endpointURL(String endpointURL) {
            return endpointURL(Output.of(endpointURL));
        }

        /**
         * @param environmentName A unique name for the environment.
         * 
         * @return builder
         * 
         */
        public Builder environmentName(@Nullable Output environmentName) {
            $.environmentName = environmentName;
            return this;
        }

        /**
         * @param environmentName A unique name for the environment.
         * 
         * @return builder
         * 
         */
        public Builder environmentName(String environmentName) {
            return environmentName(Output.of(environmentName));
        }

        /**
         * @param operationsRole The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
         * 
         * @return builder
         * 
         */
        public Builder operationsRole(@Nullable Output operationsRole) {
            $.operationsRole = operationsRole;
            return this;
        }

        /**
         * @param operationsRole The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
         * 
         * @return builder
         * 
         */
        public Builder operationsRole(String operationsRole) {
            return operationsRole(Output.of(operationsRole));
        }

        /**
         * @param optionSettings Key-value pairs defining configuration options for this environment, such as the instance type.
         * 
         * @return builder
         * 
         */
        public Builder optionSettings(@Nullable Output> optionSettings) {
            $.optionSettings = optionSettings;
            return this;
        }

        /**
         * @param optionSettings Key-value pairs defining configuration options for this environment, such as the instance type.
         * 
         * @return builder
         * 
         */
        public Builder optionSettings(List optionSettings) {
            return optionSettings(Output.of(optionSettings));
        }

        /**
         * @param optionSettings Key-value pairs defining configuration options for this environment, such as the instance type.
         * 
         * @return builder
         * 
         */
        public Builder optionSettings(OptionSettingArgs... optionSettings) {
            return optionSettings(List.of(optionSettings));
        }

        /**
         * @param platformArn The Amazon Resource Name (ARN) of the custom platform to use with the environment.
         * 
         * @return builder
         * 
         */
        public Builder platformArn(@Nullable Output platformArn) {
            $.platformArn = platformArn;
            return this;
        }

        /**
         * @param platformArn The Amazon Resource Name (ARN) of the custom platform to use with the environment.
         * 
         * @return builder
         * 
         */
        public Builder platformArn(String platformArn) {
            return platformArn(Output.of(platformArn));
        }

        /**
         * @param solutionStackName The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
         * 
         * @return builder
         * 
         */
        public Builder solutionStackName(@Nullable Output solutionStackName) {
            $.solutionStackName = solutionStackName;
            return this;
        }

        /**
         * @param solutionStackName The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
         * 
         * @return builder
         * 
         */
        public Builder solutionStackName(String solutionStackName) {
            return solutionStackName(Output.of(solutionStackName));
        }

        /**
         * @param tags Specifies the tags applied to resources in the environment.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Specifies the tags applied to resources in the environment.
         * 
         * @return builder
         * 
         */
        public Builder tags(List tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tags Specifies the tags applied to resources in the environment.
         * 
         * @return builder
         * 
         */
        public Builder tags(TagArgs... tags) {
            return tags(List.of(tags));
        }

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

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

        /**
         * @param tier Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
         * 
         * @return builder
         * 
         */
        public Builder tier(@Nullable Output tier) {
            $.tier = tier;
            return this;
        }

        /**
         * @param tier Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
         * 
         * @return builder
         * 
         */
        public Builder tier(Tier tier) {
            return tier(Output.of(tier));
        }

        /**
         * @param versionLabel The name of the application version to deploy.
         * 
         * @return builder
         * 
         */
        public Builder versionLabel(@Nullable Output versionLabel) {
            $.versionLabel = versionLabel;
            return this;
        }

        /**
         * @param versionLabel The name of the application version to deploy.
         * 
         * @return builder
         * 
         */
        public Builder versionLabel(String versionLabel) {
            return versionLabel(Output.of(versionLabel));
        }

        public AwsElasticBeanstalkEnvironmentPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy