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

com.pulumi.aws.appstream.inputs.StackApplicationSettingsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.appstream.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final StackApplicationSettingsArgs Empty = new StackApplicationSettingsArgs();

    /**
     * Whether application settings should be persisted.
     * 
     */
    @Import(name="enabled", required=true)
    private Output enabled;

    /**
     * @return Whether application settings should be persisted.
     * 
     */
    public Output enabled() {
        return this.enabled;
    }

    /**
     * Name of the settings group.
     * Required when `enabled` is `true`.
     * Can be up to 100 characters.
     * 
     */
    @Import(name="settingsGroup")
    private @Nullable Output settingsGroup;

    /**
     * @return Name of the settings group.
     * Required when `enabled` is `true`.
     * Can be up to 100 characters.
     * 
     */
    public Optional> settingsGroup() {
        return Optional.ofNullable(this.settingsGroup);
    }

    private StackApplicationSettingsArgs() {}

    private StackApplicationSettingsArgs(StackApplicationSettingsArgs $) {
        this.enabled = $.enabled;
        this.settingsGroup = $.settingsGroup;
    }

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

    public static final class Builder {
        private StackApplicationSettingsArgs $;

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

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

        /**
         * @param enabled Whether application settings should be persisted.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether application settings should be persisted.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param settingsGroup Name of the settings group.
         * Required when `enabled` is `true`.
         * Can be up to 100 characters.
         * 
         * @return builder
         * 
         */
        public Builder settingsGroup(@Nullable Output settingsGroup) {
            $.settingsGroup = settingsGroup;
            return this;
        }

        /**
         * @param settingsGroup Name of the settings group.
         * Required when `enabled` is `true`.
         * Can be up to 100 characters.
         * 
         * @return builder
         * 
         */
        public Builder settingsGroup(String settingsGroup) {
            return settingsGroup(Output.of(settingsGroup));
        }

        public StackApplicationSettingsArgs build() {
            if ($.enabled == null) {
                throw new MissingRequiredPropertyException("StackApplicationSettingsArgs", "enabled");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy