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

com.pulumi.aws.workspaces.inputs.DirectorySelfServicePermissionsArgs 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.workspaces.inputs;

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


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

    public static final DirectorySelfServicePermissionsArgs Empty = new DirectorySelfServicePermissionsArgs();

    /**
     * Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
     * 
     */
    @Import(name="changeComputeType")
    private @Nullable Output changeComputeType;

    /**
     * @return Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
     * 
     */
    public Optional> changeComputeType() {
        return Optional.ofNullable(this.changeComputeType);
    }

    /**
     * Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
     * 
     */
    @Import(name="increaseVolumeSize")
    private @Nullable Output increaseVolumeSize;

    /**
     * @return Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
     * 
     */
    public Optional> increaseVolumeSize() {
        return Optional.ofNullable(this.increaseVolumeSize);
    }

    /**
     * Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
     * 
     */
    @Import(name="rebuildWorkspace")
    private @Nullable Output rebuildWorkspace;

    /**
     * @return Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
     * 
     */
    public Optional> rebuildWorkspace() {
        return Optional.ofNullable(this.rebuildWorkspace);
    }

    /**
     * Whether WorkSpaces directory users can restart their workspace. Default `true`.
     * 
     */
    @Import(name="restartWorkspace")
    private @Nullable Output restartWorkspace;

    /**
     * @return Whether WorkSpaces directory users can restart their workspace. Default `true`.
     * 
     */
    public Optional> restartWorkspace() {
        return Optional.ofNullable(this.restartWorkspace);
    }

    /**
     * Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
     * 
     */
    @Import(name="switchRunningMode")
    private @Nullable Output switchRunningMode;

    /**
     * @return Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
     * 
     */
    public Optional> switchRunningMode() {
        return Optional.ofNullable(this.switchRunningMode);
    }

    private DirectorySelfServicePermissionsArgs() {}

    private DirectorySelfServicePermissionsArgs(DirectorySelfServicePermissionsArgs $) {
        this.changeComputeType = $.changeComputeType;
        this.increaseVolumeSize = $.increaseVolumeSize;
        this.rebuildWorkspace = $.rebuildWorkspace;
        this.restartWorkspace = $.restartWorkspace;
        this.switchRunningMode = $.switchRunningMode;
    }

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

    public static final class Builder {
        private DirectorySelfServicePermissionsArgs $;

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

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

        /**
         * @param changeComputeType Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder changeComputeType(@Nullable Output changeComputeType) {
            $.changeComputeType = changeComputeType;
            return this;
        }

        /**
         * @param changeComputeType Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder changeComputeType(Boolean changeComputeType) {
            return changeComputeType(Output.of(changeComputeType));
        }

        /**
         * @param increaseVolumeSize Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder increaseVolumeSize(@Nullable Output increaseVolumeSize) {
            $.increaseVolumeSize = increaseVolumeSize;
            return this;
        }

        /**
         * @param increaseVolumeSize Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder increaseVolumeSize(Boolean increaseVolumeSize) {
            return increaseVolumeSize(Output.of(increaseVolumeSize));
        }

        /**
         * @param rebuildWorkspace Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder rebuildWorkspace(@Nullable Output rebuildWorkspace) {
            $.rebuildWorkspace = rebuildWorkspace;
            return this;
        }

        /**
         * @param rebuildWorkspace Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder rebuildWorkspace(Boolean rebuildWorkspace) {
            return rebuildWorkspace(Output.of(rebuildWorkspace));
        }

        /**
         * @param restartWorkspace Whether WorkSpaces directory users can restart their workspace. Default `true`.
         * 
         * @return builder
         * 
         */
        public Builder restartWorkspace(@Nullable Output restartWorkspace) {
            $.restartWorkspace = restartWorkspace;
            return this;
        }

        /**
         * @param restartWorkspace Whether WorkSpaces directory users can restart their workspace. Default `true`.
         * 
         * @return builder
         * 
         */
        public Builder restartWorkspace(Boolean restartWorkspace) {
            return restartWorkspace(Output.of(restartWorkspace));
        }

        /**
         * @param switchRunningMode Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder switchRunningMode(@Nullable Output switchRunningMode) {
            $.switchRunningMode = switchRunningMode;
            return this;
        }

        /**
         * @param switchRunningMode Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
         * 
         * @return builder
         * 
         */
        public Builder switchRunningMode(Boolean switchRunningMode) {
            return switchRunningMode(Output.of(switchRunningMode));
        }

        public DirectorySelfServicePermissionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy