Interface InAppCampaignSchedule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InAppCampaignSchedule.Builder,,InAppCampaignSchedule> SdkBuilder<InAppCampaignSchedule.Builder,,InAppCampaignSchedule> SdkPojo
- Enclosing class:
InAppCampaignSchedule
@Mutable
@NotThreadSafe
public static interface InAppCampaignSchedule.Builder
extends SdkPojo, CopyableBuilder<InAppCampaignSchedule.Builder,InAppCampaignSchedule>
-
Method Summary
Modifier and TypeMethodDescriptionThe scheduled time after which the in-app message should not be shown.default InAppCampaignSchedule.BuildereventFilter(Consumer<CampaignEventFilter.Builder> eventFilter) The event filter the SDK has to use to show the in-app message in the application.eventFilter(CampaignEventFilter eventFilter) The event filter the SDK has to use to show the in-app message in the application.default InAppCampaignSchedule.BuilderquietTime(Consumer<QuietTime.Builder> quietTime) Time during which the in-app message should not be shown to the user.Time during which the in-app message should not be shown to the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
endDate
The scheduled time after which the in-app message should not be shown. Timestamp is in ISO 8601 format.
- Parameters:
endDate- The scheduled time after which the in-app message should not be shown. Timestamp is in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventFilter
The event filter the SDK has to use to show the in-app message in the application.
- Parameters:
eventFilter- The event filter the SDK has to use to show the in-app message in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventFilter
default InAppCampaignSchedule.Builder eventFilter(Consumer<CampaignEventFilter.Builder> eventFilter) The event filter the SDK has to use to show the in-app message in the application.
This is a convenience method that creates an instance of theCampaignEventFilter.Builderavoiding the need to create one manually viaCampaignEventFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventFilter(CampaignEventFilter).- Parameters:
eventFilter- a consumer that will call methods onCampaignEventFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quietTime
Time during which the in-app message should not be shown to the user.
- Parameters:
quietTime- Time during which the in-app message should not be shown to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quietTime
Time during which the in-app message should not be shown to the user.
This is a convenience method that creates an instance of theQuietTime.Builderavoiding the need to create one manually viaQuietTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquietTime(QuietTime).- Parameters:
quietTime- a consumer that will call methods onQuietTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-