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

com.pulumi.aws.elasticbeanstalk.inputs.ConfigurationTemplateState 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.ConfigurationTemplateSettingArgs;
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 ConfigurationTemplateState extends com.pulumi.resources.ResourceArgs {

    public static final ConfigurationTemplateState Empty = new ConfigurationTemplateState();

    /**
     * name of the application to associate with this configuration template
     * 
     */
    @Import(name="application")
    private @Nullable Output application;

    /**
     * @return name of the application to associate with this configuration template
     * 
     */
    public Optional> application() {
        return Optional.ofNullable(this.application);
    }

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

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

    /**
     * The ID of the environment used with this configuration template
     * 
     */
    @Import(name="environmentId")
    private @Nullable Output environmentId;

    /**
     * @return The ID of the environment used with this configuration template
     * 
     */
    public Optional> environmentId() {
        return Optional.ofNullable(this.environmentId);
    }

    /**
     * A unique name for this Template.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

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

    /**
     * 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 Template
     * off of. Example stacks can be found in the [Amazon API documentation][1]
     * 
     */
    @Import(name="solutionStackName")
    private @Nullable Output solutionStackName;

    /**
     * @return A solution stack to base your Template
     * off of. Example stacks can be found in the [Amazon API documentation][1]
     * 
     */
    public Optional> solutionStackName() {
        return Optional.ofNullable(this.solutionStackName);
    }

    private ConfigurationTemplateState() {}

    private ConfigurationTemplateState(ConfigurationTemplateState $) {
        this.application = $.application;
        this.description = $.description;
        this.environmentId = $.environmentId;
        this.name = $.name;
        this.settings = $.settings;
        this.solutionStackName = $.solutionStackName;
    }

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

    public static final class Builder {
        private ConfigurationTemplateState $;

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

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

        /**
         * @param application name of the application to associate with this configuration template
         * 
         * @return builder
         * 
         */
        public Builder application(@Nullable Output application) {
            $.application = application;
            return this;
        }

        /**
         * @param application name of the application to associate with this configuration template
         * 
         * @return builder
         * 
         */
        public Builder application(String application) {
            return application(Output.of(application));
        }

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

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

        /**
         * @param environmentId The ID of the environment used with this configuration template
         * 
         * @return builder
         * 
         */
        public Builder environmentId(@Nullable Output environmentId) {
            $.environmentId = environmentId;
            return this;
        }

        /**
         * @param environmentId The ID of the environment used with this configuration template
         * 
         * @return builder
         * 
         */
        public Builder environmentId(String environmentId) {
            return environmentId(Output.of(environmentId));
        }

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

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

        /**
         * @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(ConfigurationTemplateSettingArgs... settings) {
            return settings(List.of(settings));
        }

        /**
         * @param solutionStackName A solution stack to base your Template
         * off of. Example stacks can be found in the [Amazon API documentation][1]
         * 
         * @return builder
         * 
         */
        public Builder solutionStackName(@Nullable Output solutionStackName) {
            $.solutionStackName = solutionStackName;
            return this;
        }

        /**
         * @param solutionStackName A solution stack to base your Template
         * off of. Example stacks can be found in the [Amazon API documentation][1]
         * 
         * @return builder
         * 
         */
        public Builder solutionStackName(String solutionStackName) {
            return solutionStackName(Output.of(solutionStackName));
        }

        public ConfigurationTemplateState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy