Class WorkspacesWorkspaceWorkspaceProperties.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.workspaces_workspace.WorkspacesWorkspaceWorkspaceProperties.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkspacesWorkspaceWorkspaceProperties>
- Enclosing interface:
- WorkspacesWorkspaceWorkspaceProperties
@Stability(Stable) public static final class WorkspacesWorkspaceWorkspaceProperties.Builder extends Object implements software.amazon.jsii.Builder<WorkspacesWorkspaceWorkspaceProperties>
A builder forWorkspacesWorkspaceWorkspaceProperties
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspacesWorkspaceWorkspacePropertiesbuild()Builds the configured instance.WorkspacesWorkspaceWorkspaceProperties.BuildercomputeTypeName(String computeTypeName)Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getComputeTypeName()WorkspacesWorkspaceWorkspaceProperties.BuilderrootVolumeSizeGib(Number rootVolumeSizeGib)Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getRootVolumeSizeGib()WorkspacesWorkspaceWorkspaceProperties.BuilderrunningMode(String runningMode)Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getRunningMode()WorkspacesWorkspaceWorkspaceProperties.BuilderrunningModeAutoStopTimeoutInMinutes(Number runningModeAutoStopTimeoutInMinutes)WorkspacesWorkspaceWorkspaceProperties.BuilderuserVolumeSizeGib(Number userVolumeSizeGib)Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getUserVolumeSizeGib()
-
-
-
Method Detail
-
computeTypeName
@Stability(Stable) public WorkspacesWorkspaceWorkspaceProperties.Builder computeTypeName(String computeTypeName)
Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getComputeTypeName()- Parameters:
computeTypeName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/workspaces_workspace#compute_type_name WorkspacesWorkspace#compute_type_name}.- Returns:
this
-
rootVolumeSizeGib
@Stability(Stable) public WorkspacesWorkspaceWorkspaceProperties.Builder rootVolumeSizeGib(Number rootVolumeSizeGib)
Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getRootVolumeSizeGib()- Parameters:
rootVolumeSizeGib- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/workspaces_workspace#root_volume_size_gib WorkspacesWorkspace#root_volume_size_gib}.- Returns:
this
-
runningMode
@Stability(Stable) public WorkspacesWorkspaceWorkspaceProperties.Builder runningMode(String runningMode)
Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getRunningMode()- Parameters:
runningMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/workspaces_workspace#running_mode WorkspacesWorkspace#running_mode}.- Returns:
this
-
runningModeAutoStopTimeoutInMinutes
@Stability(Stable) public WorkspacesWorkspaceWorkspaceProperties.Builder runningModeAutoStopTimeoutInMinutes(Number runningModeAutoStopTimeoutInMinutes)
- Parameters:
runningModeAutoStopTimeoutInMinutes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/workspaces_workspace#running_mode_auto_stop_timeout_in_minutes WorkspacesWorkspace#running_mode_auto_stop_timeout_in_minutes}.- Returns:
this
-
userVolumeSizeGib
@Stability(Stable) public WorkspacesWorkspaceWorkspaceProperties.Builder userVolumeSizeGib(Number userVolumeSizeGib)
Sets the value ofWorkspacesWorkspaceWorkspaceProperties.getUserVolumeSizeGib()- Parameters:
userVolumeSizeGib- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/workspaces_workspace#user_volume_size_gib WorkspacesWorkspace#user_volume_size_gib}.- Returns:
this
-
build
@Stability(Stable) public WorkspacesWorkspaceWorkspaceProperties build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkspacesWorkspaceWorkspaceProperties>- Returns:
- a new instance of
WorkspacesWorkspaceWorkspaceProperties - Throws:
NullPointerException- if any required attribute was not provided
-
-