public static interface EmailInsights.Builder extends SdkPojo, CopyableBuilder<EmailInsights.Builder,EmailInsights>
| Modifier and Type | Method and Description |
|---|---|
EmailInsights.Builder |
destination(String destination)
The recipient of the email.
|
EmailInsights.Builder |
events(Collection<InsightsEvent> events)
A list of events associated with the sent email.
|
EmailInsights.Builder |
events(Consumer<InsightsEvent.Builder>... events)
A list of events associated with the sent email.
|
EmailInsights.Builder |
events(InsightsEvent... events)
A list of events associated with the sent email.
|
EmailInsights.Builder |
isp(String isp)
The recipient's ISP (e.g.,
Gmail, Yahoo, etc.). |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEmailInsights.Builder destination(String destination)
The recipient of the email.
destination - The recipient of the email.EmailInsights.Builder isp(String isp)
The recipient's ISP (e.g., Gmail, Yahoo, etc.).
isp - The recipient's ISP (e.g., Gmail, Yahoo, etc.).EmailInsights.Builder events(Collection<InsightsEvent> events)
A list of events associated with the sent email.
events - A list of events associated with the sent email.EmailInsights.Builder events(InsightsEvent... events)
A list of events associated with the sent email.
events - A list of events associated with the sent email.EmailInsights.Builder events(Consumer<InsightsEvent.Builder>... events)
A list of events associated with the sent email.
This is a convenience method that creates an instance of theInsightsEvent.Builder avoiding the need to create one
manually via InsightsEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #events(List.
events - a consumer that will call methods on
InsightsEvent.Builder#events(java.util.Collection) Copyright © 2023. All rights reserved.