Interface DefaultWorkspaceCreationProperties.Builder

    • Method Detail

      • enableWorkDocs

        DefaultWorkspaceCreationProperties.Builder enableWorkDocs​(Boolean enableWorkDocs)

        Specifies whether the directory is enabled for Amazon WorkDocs.

        Parameters:
        enableWorkDocs - Specifies whether the directory is enabled for Amazon WorkDocs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableInternetAccess

        DefaultWorkspaceCreationProperties.Builder enableInternetAccess​(Boolean enableInternetAccess)

        Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.

        Parameters:
        enableInternetAccess - Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultOu

        DefaultWorkspaceCreationProperties.Builder defaultOu​(String defaultOu)

        The organizational unit (OU) in the directory for the WorkSpace machine accounts.

        Parameters:
        defaultOu - The organizational unit (OU) in the directory for the WorkSpace machine accounts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userEnabledAsLocalAdministrator

        DefaultWorkspaceCreationProperties.Builder userEnabledAsLocalAdministrator​(Boolean userEnabledAsLocalAdministrator)

        Specifies whether WorkSpace users are local administrators on their WorkSpaces.

        Parameters:
        userEnabledAsLocalAdministrator - Specifies whether WorkSpace users are local administrators on their WorkSpaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableMaintenanceMode

        DefaultWorkspaceCreationProperties.Builder enableMaintenanceMode​(Boolean enableMaintenanceMode)

        Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.

        Parameters:
        enableMaintenanceMode - Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIamRoleArn

        DefaultWorkspaceCreationProperties.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.