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

com.pulumi.azurenative.portal.outputs.UserPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.portal.outputs;

import com.pulumi.azurenative.portal.outputs.StorageProfileResponse;
import com.pulumi.azurenative.portal.outputs.TerminalSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class UserPropertiesResponse {
    /**
     * @return The preferred location of the cloud shell.
     * 
     */
    private String preferredLocation;
    /**
     * @return The operating system type of the cloud shell. Deprecated, use preferredShellType.
     * 
     */
    private String preferredOsType;
    /**
     * @return The shell type of the cloud shell.
     * 
     */
    private String preferredShellType;
    /**
     * @return The storage profile of the user settings.
     * 
     */
    private StorageProfileResponse storageProfile;
    /**
     * @return Settings for terminal appearance.
     * 
     */
    private TerminalSettingsResponse terminalSettings;

    private UserPropertiesResponse() {}
    /**
     * @return The preferred location of the cloud shell.
     * 
     */
    public String preferredLocation() {
        return this.preferredLocation;
    }
    /**
     * @return The operating system type of the cloud shell. Deprecated, use preferredShellType.
     * 
     */
    public String preferredOsType() {
        return this.preferredOsType;
    }
    /**
     * @return The shell type of the cloud shell.
     * 
     */
    public String preferredShellType() {
        return this.preferredShellType;
    }
    /**
     * @return The storage profile of the user settings.
     * 
     */
    public StorageProfileResponse storageProfile() {
        return this.storageProfile;
    }
    /**
     * @return Settings for terminal appearance.
     * 
     */
    public TerminalSettingsResponse terminalSettings() {
        return this.terminalSettings;
    }

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

    public static Builder builder(UserPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String preferredLocation;
        private String preferredOsType;
        private String preferredShellType;
        private StorageProfileResponse storageProfile;
        private TerminalSettingsResponse terminalSettings;
        public Builder() {}
        public Builder(UserPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.preferredLocation = defaults.preferredLocation;
    	      this.preferredOsType = defaults.preferredOsType;
    	      this.preferredShellType = defaults.preferredShellType;
    	      this.storageProfile = defaults.storageProfile;
    	      this.terminalSettings = defaults.terminalSettings;
        }

        @CustomType.Setter
        public Builder preferredLocation(String preferredLocation) {
            if (preferredLocation == null) {
              throw new MissingRequiredPropertyException("UserPropertiesResponse", "preferredLocation");
            }
            this.preferredLocation = preferredLocation;
            return this;
        }
        @CustomType.Setter
        public Builder preferredOsType(String preferredOsType) {
            if (preferredOsType == null) {
              throw new MissingRequiredPropertyException("UserPropertiesResponse", "preferredOsType");
            }
            this.preferredOsType = preferredOsType;
            return this;
        }
        @CustomType.Setter
        public Builder preferredShellType(String preferredShellType) {
            if (preferredShellType == null) {
              throw new MissingRequiredPropertyException("UserPropertiesResponse", "preferredShellType");
            }
            this.preferredShellType = preferredShellType;
            return this;
        }
        @CustomType.Setter
        public Builder storageProfile(StorageProfileResponse storageProfile) {
            if (storageProfile == null) {
              throw new MissingRequiredPropertyException("UserPropertiesResponse", "storageProfile");
            }
            this.storageProfile = storageProfile;
            return this;
        }
        @CustomType.Setter
        public Builder terminalSettings(TerminalSettingsResponse terminalSettings) {
            if (terminalSettings == null) {
              throw new MissingRequiredPropertyException("UserPropertiesResponse", "terminalSettings");
            }
            this.terminalSettings = terminalSettings;
            return this;
        }
        public UserPropertiesResponse build() {
            final var _resultValue = new UserPropertiesResponse();
            _resultValue.preferredLocation = preferredLocation;
            _resultValue.preferredOsType = preferredOsType;
            _resultValue.preferredShellType = preferredShellType;
            _resultValue.storageProfile = storageProfile;
            _resultValue.terminalSettings = terminalSettings;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy