Class GetWorkspacePlainArgs.Builder

  • Enclosing class:
    GetWorkspacePlainArgs

    public static final class GetWorkspacePlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • directoryId

        public GetWorkspacePlainArgs.Builder directoryId​(@Nullable
                                                         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 GetWorkspacePlainArgs.Builder region​(@Nullable
                                                    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 GetWorkspacePlainArgs.Builder tags​(@Nullable
                                                  java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags for the WorkSpace.
        Returns:
        builder
      • userName

        public GetWorkspacePlainArgs.Builder userName​(@Nullable
                                                      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 GetWorkspacePlainArgs.Builder workspaceId​(@Nullable
                                                         java.lang.String workspaceId)
        Parameters:
        workspaceId - ID of the WorkSpace. You cannot combine this parameter with `directoryId`.
        Returns:
        builder