Package com.pulumi.aws.workspaces
Class WorkspaceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.workspaces.WorkspaceArgs.Builder
-
- Enclosing class:
- WorkspaceArgs
public static final class WorkspaceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(WorkspaceArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspaceArgs
build()
WorkspaceArgs.Builder
bundleId(com.pulumi.core.Output<java.lang.String> bundleId)
WorkspaceArgs.Builder
bundleId(java.lang.String bundleId)
WorkspaceArgs.Builder
directoryId(com.pulumi.core.Output<java.lang.String> directoryId)
WorkspaceArgs.Builder
directoryId(java.lang.String directoryId)
WorkspaceArgs.Builder
rootVolumeEncryptionEnabled(com.pulumi.core.Output<java.lang.Boolean> rootVolumeEncryptionEnabled)
WorkspaceArgs.Builder
rootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
WorkspaceArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
WorkspaceArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
WorkspaceArgs.Builder
userName(com.pulumi.core.Output<java.lang.String> userName)
WorkspaceArgs.Builder
userName(java.lang.String userName)
WorkspaceArgs.Builder
userVolumeEncryptionEnabled(com.pulumi.core.Output<java.lang.Boolean> userVolumeEncryptionEnabled)
WorkspaceArgs.Builder
userVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
WorkspaceArgs.Builder
volumeEncryptionKey(com.pulumi.core.Output<java.lang.String> volumeEncryptionKey)
WorkspaceArgs.Builder
volumeEncryptionKey(java.lang.String volumeEncryptionKey)
WorkspaceArgs.Builder
workspaceProperties(WorkspaceWorkspacePropertiesArgs workspaceProperties)
WorkspaceArgs.Builder
workspaceProperties(com.pulumi.core.Output<WorkspaceWorkspacePropertiesArgs> workspaceProperties)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkspaceArgs defaults)
-
-
Method Detail
-
bundleId
public WorkspaceArgs.Builder bundleId(com.pulumi.core.Output<java.lang.String> bundleId)
- Parameters:
bundleId
- The ID of the bundle for the WorkSpace.- Returns:
- builder
-
bundleId
public WorkspaceArgs.Builder bundleId(java.lang.String bundleId)
- Parameters:
bundleId
- The ID of the bundle for the WorkSpace.- Returns:
- builder
-
directoryId
public WorkspaceArgs.Builder directoryId(com.pulumi.core.Output<java.lang.String> directoryId)
- Parameters:
directoryId
- The ID of the directory for the WorkSpace.- Returns:
- builder
-
directoryId
public WorkspaceArgs.Builder directoryId(java.lang.String directoryId)
- Parameters:
directoryId
- The ID of the directory for the WorkSpace.- Returns:
- builder
-
rootVolumeEncryptionEnabled
public WorkspaceArgs.Builder rootVolumeEncryptionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> rootVolumeEncryptionEnabled)
- Parameters:
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted.- Returns:
- builder
-
rootVolumeEncryptionEnabled
public WorkspaceArgs.Builder rootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
- Parameters:
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted.- Returns:
- builder
-
tags
public WorkspaceArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- The tags for the WorkSpace. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public WorkspaceArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- The tags for the WorkSpace. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
userName
public WorkspaceArgs.Builder userName(com.pulumi.core.Output<java.lang.String> userName)
- Parameters:
userName
- The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.- Returns:
- builder
-
userName
public WorkspaceArgs.Builder userName(java.lang.String userName)
- Parameters:
userName
- The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.- Returns:
- builder
-
userVolumeEncryptionEnabled
public WorkspaceArgs.Builder userVolumeEncryptionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> userVolumeEncryptionEnabled)
- Parameters:
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted.- Returns:
- builder
-
userVolumeEncryptionEnabled
public WorkspaceArgs.Builder userVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
- Parameters:
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted.- Returns:
- builder
-
volumeEncryptionKey
public WorkspaceArgs.Builder volumeEncryptionKey(@Nullable com.pulumi.core.Output<java.lang.String> volumeEncryptionKey)
- Parameters:
volumeEncryptionKey
- The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.- Returns:
- builder
-
volumeEncryptionKey
public WorkspaceArgs.Builder volumeEncryptionKey(java.lang.String volumeEncryptionKey)
- Parameters:
volumeEncryptionKey
- The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.- Returns:
- builder
-
workspaceProperties
public WorkspaceArgs.Builder workspaceProperties(@Nullable com.pulumi.core.Output<WorkspaceWorkspacePropertiesArgs> workspaceProperties)
- Parameters:
workspaceProperties
- The WorkSpace properties.- Returns:
- builder
-
workspaceProperties
public WorkspaceArgs.Builder workspaceProperties(WorkspaceWorkspacePropertiesArgs workspaceProperties)
- Parameters:
workspaceProperties
- The WorkSpace properties.- Returns:
- builder
-
build
public WorkspaceArgs build()
-
-