Interface InAppCampaignSchedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InAppCampaignSchedule.Builder,InAppCampaignSchedule>,SdkBuilder<InAppCampaignSchedule.Builder,InAppCampaignSchedule>,SdkPojo
- Enclosing class:
- InAppCampaignSchedule
public static interface InAppCampaignSchedule.Builder extends SdkPojo, CopyableBuilder<InAppCampaignSchedule.Builder,InAppCampaignSchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InAppCampaignSchedule.BuilderendDate(String endDate)The 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.InAppCampaignSchedule.BuildereventFilter(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.InAppCampaignSchedule.BuilderquietTime(QuietTime quietTime)Time during which the in-app message should not be shown to the user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
endDate
InAppCampaignSchedule.Builder endDate(String 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
InAppCampaignSchedule.Builder eventFilter(CampaignEventFilter 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:
eventFilter(CampaignEventFilter)
-
quietTime
InAppCampaignSchedule.Builder quietTime(QuietTime 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
default InAppCampaignSchedule.Builder quietTime(Consumer<QuietTime.Builder> 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:
quietTime(QuietTime)
-
-