Package discord4j.core.spec
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.
A contract specifying how an object should be built.
-
Method Summary
-
Method Details
-
asRequest
T asRequest()
-