SendGridOutput Interface
Definition
Place this on a parameter whose value would be written to SendGrid. The parameter type should be OutputBinding, where T could be one of:
- Any native Java types such as int, String, byte[]
- Any POJO type
public interface SendGridOutput implements Annotation
- Implements
-
java.lang.annotation.Annotation
Methods
| apiKey() |
Defines the API key of the SendGrid to which to write. |
| dataType() |
Defines how Functions runtime should treat the parameter value. Possible values are:
|
| from() |
Defines the 'FROM' name of the SendGrid to which to write. |
| name() |
The variable name used in function.json. |
| subject() |
Defines the subject of the SendGrid email to which to write. |
| text() |
Defines the content text of the SendGrid email to which to write. |
| to() |
Defines the 'TO' email of the SendGrid to which to write. |