Class GetWorkspaceArgs.Builder

  • Enclosing class:
    GetWorkspaceArgs

    public static final class GetWorkspaceArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • directoryId

        public GetWorkspaceArgs.Builder directoryId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> directoryId)
        Parameters:
        directoryId - ID of the directory for the WorkSpace. You have to specify `userName` along with `directoryId`. You cannot combine this parameter with `workspaceId`.
        Returns:
        builder
      • directoryId

        public GetWorkspaceArgs.Builder directoryId​(java.lang.String directoryId)
        Parameters:
        directoryId - ID of the directory for the WorkSpace. You have to specify `userName` along with `directoryId`. You cannot combine this parameter with `workspaceId`.
        Returns:
        builder
      • region

        public GetWorkspaceArgs.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public GetWorkspaceArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public GetWorkspaceArgs.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags for the WorkSpace.
        Returns:
        builder
      • tags

        public GetWorkspaceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags for the WorkSpace.
        Returns:
        builder
      • userName

        public GetWorkspaceArgs.Builder userName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> userName)
        Parameters:
        userName - User name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. You cannot combine this parameter with `workspaceId`.
        Returns:
        builder
      • userName

        public GetWorkspaceArgs.Builder userName​(java.lang.String userName)
        Parameters:
        userName - User name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. You cannot combine this parameter with `workspaceId`.
        Returns:
        builder
      • workspaceId

        public GetWorkspaceArgs.Builder workspaceId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> workspaceId)
        Parameters:
        workspaceId - ID of the WorkSpace. You cannot combine this parameter with `directoryId`.
        Returns:
        builder
      • workspaceId

        public GetWorkspaceArgs.Builder workspaceId​(java.lang.String workspaceId)
        Parameters:
        workspaceId - ID of the WorkSpace. You cannot combine this parameter with `directoryId`.
        Returns:
        builder