Interface WorkspaceCreationProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkspaceCreationProperties.Builder,
,WorkspaceCreationProperties> SdkBuilder<WorkspaceCreationProperties.Builder,
,WorkspaceCreationProperties> SdkPojo
- Enclosing class:
WorkspaceCreationProperties
-
Method Summary
Modifier and TypeMethodDescriptioncustomSecurityGroupId
(String customSecurityGroupId) The identifier of your custom security group.The default organizational unit (OU) for your WorkSpaces directories.enableInternetAccess
(Boolean enableInternetAccess) Indicates whether internet access is enabled for your WorkSpaces.enableMaintenanceMode
(Boolean enableMaintenanceMode) Indicates whether maintenance mode is enabled for your WorkSpaces.instanceIamRoleArn
(String instanceIamRoleArn) Indicates the IAM role ARN of the instance.userEnabledAsLocalAdministrator
(Boolean userEnabledAsLocalAdministrator) Indicates whether users are local administrators of their WorkSpaces.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enableInternetAccess
Indicates whether internet access is enabled for your WorkSpaces.
- Parameters:
enableInternetAccess
- Indicates whether internet access is enabled for your WorkSpaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultOu
The default organizational unit (OU) for your WorkSpaces directories. This string must be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target domain and OU. It must be in the form
"OU=value,DC=value,DC=value"
, where value is any string of characters, and the number of domain components (DCs) is two or more. For example,OU=WorkSpaces_machines,DC=machines,DC=example,DC=com
.-
To avoid errors, certain characters in the distinguished name must be escaped. For more information, see Distinguished Names in the Microsoft documentation.
-
The API doesn't validate whether the OU exists.
- Parameters:
defaultOu
- The default organizational unit (OU) for your WorkSpaces directories. This string must be the full Lightweight Directory Access Protocol (LDAP) distinguished name for the target domain and OU. It must be in the form"OU=value,DC=value,DC=value"
, where value is any string of characters, and the number of domain components (DCs) is two or more. For example,OU=WorkSpaces_machines,DC=machines,DC=example,DC=com
.-
To avoid errors, certain characters in the distinguished name must be escaped. For more information, see Distinguished Names in the Microsoft documentation.
-
The API doesn't validate whether the OU exists.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
customSecurityGroupId
The identifier of your custom security group.
- Parameters:
customSecurityGroupId
- The identifier of your custom security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userEnabledAsLocalAdministrator
WorkspaceCreationProperties.Builder userEnabledAsLocalAdministrator(Boolean userEnabledAsLocalAdministrator) Indicates whether users are local administrators of their WorkSpaces.
- Parameters:
userEnabledAsLocalAdministrator
- Indicates whether users are local administrators of their WorkSpaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableMaintenanceMode
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.
- Parameters:
enableMaintenanceMode
- Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see WorkSpace Maintenance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIamRoleArn
Indicates the IAM role ARN of the instance.
- Parameters:
instanceIamRoleArn
- Indicates the IAM role ARN of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-