Package discord4j.core.spec
Interface Spec<T>
-
- Type Parameters:
T- the type of the resulting object.
- All Known Subinterfaces:
AuditSpec<T>,EmbedCreateFields.Author,EmbedCreateFields.Field,EmbedCreateFields.Footer,GuildCreateFields.PartialChannel,MessageCreateFields.File,MessageCreateFields.FileSpoiler,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TasRequest()
-
-
-
Method Detail
-
asRequest
T asRequest()
-
-