public static interface Activity.Builder extends SdkPojo, CopyableBuilder<Activity.Builder,Activity>
| Modifier and Type | Method and Description |
|---|---|
Activity.Builder |
conditionalSplit(ConditionalSplitActivity conditionalSplit)
The settings for a yes/no split activity.
|
default Activity.Builder |
conditionalSplit(Consumer<ConditionalSplitActivity.Builder> conditionalSplit)
The settings for a yes/no split activity.
|
default Activity.Builder |
custom(Consumer<CustomMessageActivity.Builder> custom)
The settings for a custom message activity.
|
Activity.Builder |
custom(CustomMessageActivity custom)
The settings for a custom message activity.
|
Activity.Builder |
description(String description)
The custom description of the activity.
|
default Activity.Builder |
email(Consumer<EmailMessageActivity.Builder> email)
The settings for an email activity.
|
Activity.Builder |
email(EmailMessageActivity email)
The settings for an email activity.
|
default Activity.Builder |
holdout(Consumer<HoldoutActivity.Builder> holdout)
The settings for a holdout activity.
|
Activity.Builder |
holdout(HoldoutActivity holdout)
The settings for a holdout activity.
|
default Activity.Builder |
multiCondition(Consumer<MultiConditionalSplitActivity.Builder> multiCondition)
The settings for a multivariate split activity.
|
Activity.Builder |
multiCondition(MultiConditionalSplitActivity multiCondition)
The settings for a multivariate split activity.
|
default Activity.Builder |
push(Consumer<PushMessageActivity.Builder> push)
The settings for a push notification activity.
|
Activity.Builder |
push(PushMessageActivity push)
The settings for a push notification activity.
|
default Activity.Builder |
randomSplit(Consumer<RandomSplitActivity.Builder> randomSplit)
The settings for a random split activity.
|
Activity.Builder |
randomSplit(RandomSplitActivity randomSplit)
The settings for a random split activity.
|
default Activity.Builder |
sms(Consumer<SMSMessageActivity.Builder> sms)
The settings for an SMS activity.
|
Activity.Builder |
sms(SMSMessageActivity sms)
The settings for an SMS activity.
|
default Activity.Builder |
waitValue(Consumer<WaitActivity.Builder> wait)
The settings for a wait activity.
|
Activity.Builder |
waitValue(WaitActivity wait)
The settings for a wait activity.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildActivity.Builder custom(CustomMessageActivity custom)
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
custom - The settings for a custom message activity. This type of activity calls an AWS Lambda function or web
hook that sends messages to participants.default Activity.Builder custom(Consumer<CustomMessageActivity.Builder> custom)
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
This is a convenience that creates an instance of theCustomMessageActivity.Builder avoiding the need
to create one manually via CustomMessageActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to custom(CustomMessageActivity).custom - a consumer that will call methods on CustomMessageActivity.Buildercustom(CustomMessageActivity)Activity.Builder conditionalSplit(ConditionalSplitActivity conditionalSplit)
The settings for a yes/no split activity. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
conditionalSplit - The settings for a yes/no split activity. This type of activity sends participants down one of two
paths in a journey, based on conditions that you specify.default Activity.Builder conditionalSplit(Consumer<ConditionalSplitActivity.Builder> conditionalSplit)
The settings for a yes/no split activity. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
This is a convenience that creates an instance of theConditionalSplitActivity.Builder avoiding the
need to create one manually via ConditionalSplitActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to conditionalSplit(ConditionalSplitActivity).conditionalSplit - a consumer that will call methods on ConditionalSplitActivity.BuilderconditionalSplit(ConditionalSplitActivity)Activity.Builder description(String description)
The custom description of the activity.
description - The custom description of the activity.Activity.Builder email(EmailMessageActivity email)
The settings for an email activity. This type of activity sends an email message to participants.
email - The settings for an email activity. This type of activity sends an email message to participants.default Activity.Builder email(Consumer<EmailMessageActivity.Builder> email)
The settings for an email activity. This type of activity sends an email message to participants.
This is a convenience that creates an instance of theEmailMessageActivity.Builder avoiding the need
to create one manually via EmailMessageActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to email(EmailMessageActivity).email - a consumer that will call methods on EmailMessageActivity.Builderemail(EmailMessageActivity)Activity.Builder holdout(HoldoutActivity holdout)
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
holdout - The settings for a holdout activity. This type of activity stops a journey for a specified percentage
of participants.default Activity.Builder holdout(Consumer<HoldoutActivity.Builder> holdout)
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
This is a convenience that creates an instance of theHoldoutActivity.Builder avoiding the need to
create one manually via HoldoutActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to holdout(HoldoutActivity).holdout - a consumer that will call methods on HoldoutActivity.Builderholdout(HoldoutActivity)Activity.Builder multiCondition(MultiConditionalSplitActivity multiCondition)
The settings for a multivariate split activity. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
multiCondition - The settings for a multivariate split activity. This type of activity sends participants down one of
as many as five paths (including a default Else path) in a journey, based on conditions that
you specify.default Activity.Builder multiCondition(Consumer<MultiConditionalSplitActivity.Builder> multiCondition)
The settings for a multivariate split activity. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
This is a convenience that creates an instance of theMultiConditionalSplitActivity.Builder avoiding
the need to create one manually via MultiConditionalSplitActivity.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to multiCondition(MultiConditionalSplitActivity).multiCondition - a consumer that will call methods on MultiConditionalSplitActivity.BuildermultiCondition(MultiConditionalSplitActivity)Activity.Builder push(PushMessageActivity push)
The settings for a push notification activity. This type of activity sends a push notification to participants.
push - The settings for a push notification activity. This type of activity sends a push notification to
participants.default Activity.Builder push(Consumer<PushMessageActivity.Builder> push)
The settings for a push notification activity. This type of activity sends a push notification to participants.
This is a convenience that creates an instance of thePushMessageActivity.Builder avoiding the need
to create one manually via PushMessageActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to push(PushMessageActivity).push - a consumer that will call methods on PushMessageActivity.Builderpush(PushMessageActivity)Activity.Builder randomSplit(RandomSplitActivity randomSplit)
The settings for a random split activity. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
randomSplit - The settings for a random split activity. This type of activity randomly sends specified percentages
of participants down one of as many as five paths in a journey, based on conditions that you specify.default Activity.Builder randomSplit(Consumer<RandomSplitActivity.Builder> randomSplit)
The settings for a random split activity. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
This is a convenience that creates an instance of theRandomSplitActivity.Builder avoiding the need
to create one manually via RandomSplitActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to randomSplit(RandomSplitActivity).randomSplit - a consumer that will call methods on RandomSplitActivity.BuilderrandomSplit(RandomSplitActivity)Activity.Builder sms(SMSMessageActivity sms)
The settings for an SMS activity. This type of activity sends a text message to participants.
sms - The settings for an SMS activity. This type of activity sends a text message to participants.default Activity.Builder sms(Consumer<SMSMessageActivity.Builder> sms)
The settings for an SMS activity. This type of activity sends a text message to participants.
This is a convenience that creates an instance of theSMSMessageActivity.Builder avoiding the need to
create one manually via SMSMessageActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sms(SMSMessageActivity).sms - a consumer that will call methods on SMSMessageActivity.Buildersms(SMSMessageActivity)Activity.Builder waitValue(WaitActivity wait)
The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
wait - The settings for a wait activity. This type of activity waits for a certain amount of time or until a
specific date and time before moving participants to the next activity in a journey.default Activity.Builder waitValue(Consumer<WaitActivity.Builder> wait)
The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
This is a convenience that creates an instance of theWaitActivity.Builder avoiding the need to
create one manually via WaitActivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to waitValue(WaitActivity).wait - a consumer that will call methods on WaitActivity.BuilderwaitValue(WaitActivity)Copyright © 2020. All rights reserved.