Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.workspaces.inputs.WorkspaceWorkspacePropertiesArgs 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.workspaces.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class WorkspaceWorkspacePropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final WorkspaceWorkspacePropertiesArgs Empty = new WorkspaceWorkspacePropertiesArgs();
/**
* The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`.
*
*/
@Import(name="computeTypeName")
private @Nullable Output computeTypeName;
/**
* @return The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`.
*
*/
public Optional> computeTypeName() {
return Optional.ofNullable(this.computeTypeName);
}
/**
* The size of the root volume.
*
*/
@Import(name="rootVolumeSizeGib")
private @Nullable Output rootVolumeSizeGib;
/**
* @return The size of the root volume.
*
*/
public Optional> rootVolumeSizeGib() {
return Optional.ofNullable(this.rootVolumeSizeGib);
}
/**
* The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
*
*/
@Import(name="runningMode")
private @Nullable Output runningMode;
/**
* @return The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
*
*/
public Optional> runningMode() {
return Optional.ofNullable(this.runningMode);
}
/**
* The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
*
*/
@Import(name="runningModeAutoStopTimeoutInMinutes")
private @Nullable Output runningModeAutoStopTimeoutInMinutes;
/**
* @return The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
*
*/
public Optional> runningModeAutoStopTimeoutInMinutes() {
return Optional.ofNullable(this.runningModeAutoStopTimeoutInMinutes);
}
/**
* The size of the user storage.
*
*/
@Import(name="userVolumeSizeGib")
private @Nullable Output userVolumeSizeGib;
/**
* @return The size of the user storage.
*
*/
public Optional> userVolumeSizeGib() {
return Optional.ofNullable(this.userVolumeSizeGib);
}
private WorkspaceWorkspacePropertiesArgs() {}
private WorkspaceWorkspacePropertiesArgs(WorkspaceWorkspacePropertiesArgs $) {
this.computeTypeName = $.computeTypeName;
this.rootVolumeSizeGib = $.rootVolumeSizeGib;
this.runningMode = $.runningMode;
this.runningModeAutoStopTimeoutInMinutes = $.runningModeAutoStopTimeoutInMinutes;
this.userVolumeSizeGib = $.userVolumeSizeGib;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkspaceWorkspacePropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WorkspaceWorkspacePropertiesArgs $;
public Builder() {
$ = new WorkspaceWorkspacePropertiesArgs();
}
public Builder(WorkspaceWorkspacePropertiesArgs defaults) {
$ = new WorkspaceWorkspacePropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param computeTypeName The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`.
*
* @return builder
*
*/
public Builder computeTypeName(@Nullable Output computeTypeName) {
$.computeTypeName = computeTypeName;
return this;
}
/**
* @param computeTypeName The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`.
*
* @return builder
*
*/
public Builder computeTypeName(String computeTypeName) {
return computeTypeName(Output.of(computeTypeName));
}
/**
* @param rootVolumeSizeGib The size of the root volume.
*
* @return builder
*
*/
public Builder rootVolumeSizeGib(@Nullable Output rootVolumeSizeGib) {
$.rootVolumeSizeGib = rootVolumeSizeGib;
return this;
}
/**
* @param rootVolumeSizeGib The size of the root volume.
*
* @return builder
*
*/
public Builder rootVolumeSizeGib(Integer rootVolumeSizeGib) {
return rootVolumeSizeGib(Output.of(rootVolumeSizeGib));
}
/**
* @param runningMode The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
*
* @return builder
*
*/
public Builder runningMode(@Nullable Output runningMode) {
$.runningMode = runningMode;
return this;
}
/**
* @param runningMode The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
*
* @return builder
*
*/
public Builder runningMode(String runningMode) {
return runningMode(Output.of(runningMode));
}
/**
* @param runningModeAutoStopTimeoutInMinutes The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
*
* @return builder
*
*/
public Builder runningModeAutoStopTimeoutInMinutes(@Nullable Output runningModeAutoStopTimeoutInMinutes) {
$.runningModeAutoStopTimeoutInMinutes = runningModeAutoStopTimeoutInMinutes;
return this;
}
/**
* @param runningModeAutoStopTimeoutInMinutes The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
*
* @return builder
*
*/
public Builder runningModeAutoStopTimeoutInMinutes(Integer runningModeAutoStopTimeoutInMinutes) {
return runningModeAutoStopTimeoutInMinutes(Output.of(runningModeAutoStopTimeoutInMinutes));
}
/**
* @param userVolumeSizeGib The size of the user storage.
*
* @return builder
*
*/
public Builder userVolumeSizeGib(@Nullable Output userVolumeSizeGib) {
$.userVolumeSizeGib = userVolumeSizeGib;
return this;
}
/**
* @param userVolumeSizeGib The size of the user storage.
*
* @return builder
*
*/
public Builder userVolumeSizeGib(Integer userVolumeSizeGib) {
return userVolumeSizeGib(Output.of(userVolumeSizeGib));
}
public WorkspaceWorkspacePropertiesArgs build() {
return $;
}
}
}