Interface WorkspaceCreationProperties.Builder

  • Method Details

    • enableInternetAccess

      WorkspaceCreationProperties.Builder enableInternetAccess(Boolean 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

      WorkspaceCreationProperties.Builder customSecurityGroupId(String 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

      WorkspaceCreationProperties.Builder enableMaintenanceMode(Boolean 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

      WorkspaceCreationProperties.Builder instanceIamRoleArn(String 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.