Interface Spec<T>

Type Parameters:
T - the type of the resulting object.
All Known Subinterfaces:
AuditSpec<T>, AutoModRuleEditSpecGenerator, EmbedCreateFields.Author, EmbedCreateFields.Field, EmbedCreateFields.Footer, ForumChannelCreateSpecGenerator, ForumChannelEditSpecGenerator, ForumTagCreateSpecGenerator, ForumThreadMessageCreateSpecGenerator, GuildCreateFields.PartialChannel, MessageCreateFields.File, MessageCreateFields.FileSpoiler, ScheduledEventCreateSpecGenerator, ScheduledEventEditSpecGenerator, ScheduledEventEntityMetadataSpecGenerator, StartThreadInForumChannelSpecGenerator, StartThreadSpecGenerator, StartThreadWithoutMessageSpecGenerator, WebhookMessageEditSpecGenerator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Spec<T>
A contract specifying how an object should be built.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • asRequest

      T asRequest()