Interface Activity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Activity.Builder,Activity>,SdkBuilder<Activity.Builder,Activity>,SdkPojo
- Enclosing class:
- Activity
public static interface Activity.Builder extends SdkPojo, CopyableBuilder<Activity.Builder,Activity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Activity.BuilderconditionalSplit(Consumer<ConditionalSplitActivity.Builder> conditionalSplit)The settings for a yes/no split activity.Activity.BuilderconditionalSplit(ConditionalSplitActivity conditionalSplit)The settings for a yes/no split activity.default Activity.BuildercontactCenter(Consumer<ContactCenterActivity.Builder> contactCenter)The settings for a connect activity.Activity.BuildercontactCenter(ContactCenterActivity contactCenter)The settings for a connect activity.default Activity.Buildercustom(Consumer<CustomMessageActivity.Builder> custom)The settings for a custom message activity.Activity.Buildercustom(CustomMessageActivity custom)The settings for a custom message activity.Activity.Builderdescription(String description)The custom description of the activity.default Activity.Builderemail(Consumer<EmailMessageActivity.Builder> email)The settings for an email activity.Activity.Builderemail(EmailMessageActivity email)The settings for an email activity.default Activity.Builderholdout(Consumer<HoldoutActivity.Builder> holdout)The settings for a holdout activity.Activity.Builderholdout(HoldoutActivity holdout)The settings for a holdout activity.default Activity.BuildermultiCondition(Consumer<MultiConditionalSplitActivity.Builder> multiCondition)The settings for a multivariate split activity.Activity.BuildermultiCondition(MultiConditionalSplitActivity multiCondition)The settings for a multivariate split activity.default Activity.Builderpush(Consumer<PushMessageActivity.Builder> push)The settings for a push notification activity.Activity.Builderpush(PushMessageActivity push)The settings for a push notification activity.default Activity.BuilderrandomSplit(Consumer<RandomSplitActivity.Builder> randomSplit)The settings for a random split activity.Activity.BuilderrandomSplit(RandomSplitActivity randomSplit)The settings for a random split activity.default Activity.Buildersms(Consumer<SMSMessageActivity.Builder> sms)The settings for an SMS activity.Activity.Buildersms(SMSMessageActivity sms)The settings for an SMS activity.default Activity.BuilderwaitValue(Consumer<WaitActivity.Builder> wait)The settings for a wait activity.Activity.BuilderwaitValue(WaitActivity wait)The settings for a wait activity.-
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
-
custom
Activity.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
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 method that creates an instance of theCustomMessageActivity.Builderavoiding the need to create one manually viaCustomMessageActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomMessageActivity).- Parameters:
custom- a consumer that will call methods onCustomMessageActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
custom(CustomMessageActivity)
-
conditionalSplit
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditionalSplit
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 method that creates an instance of theConditionalSplitActivity.Builderavoiding the need to create one manually viaConditionalSplitActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditionalSplit(ConditionalSplitActivity).- Parameters:
conditionalSplit- a consumer that will call methods onConditionalSplitActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
conditionalSplit(ConditionalSplitActivity)
-
description
Activity.Builder description(String description)
The custom description of the activity.
- Parameters:
description- The custom description of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Activity.Builder email(EmailMessageActivity email)
The settings for an email activity. This type of activity sends an email message to participants.
- Parameters:
email- The settings for an email activity. This type of activity sends an email message to participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
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 method that creates an instance of theEmailMessageActivity.Builderavoiding the need to create one manually viaEmailMessageActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(EmailMessageActivity).- Parameters:
email- a consumer that will call methods onEmailMessageActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
email(EmailMessageActivity)
-
holdout
Activity.Builder holdout(HoldoutActivity holdout)
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
- Parameters:
holdout- The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
holdout
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 method that creates an instance of theHoldoutActivity.Builderavoiding the need to create one manually viaHoldoutActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toholdout(HoldoutActivity).- Parameters:
holdout- a consumer that will call methods onHoldoutActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
holdout(HoldoutActivity)
-
multiCondition
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiCondition
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 method that creates an instance of theMultiConditionalSplitActivity.Builderavoiding the need to create one manually viaMultiConditionalSplitActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiCondition(MultiConditionalSplitActivity).- Parameters:
multiCondition- a consumer that will call methods onMultiConditionalSplitActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
multiCondition(MultiConditionalSplitActivity)
-
push
Activity.Builder push(PushMessageActivity push)
The settings for a push notification activity. This type of activity sends a push notification to participants.
- Parameters:
push- The settings for a push notification activity. This type of activity sends a push notification to participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
push
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 method that creates an instance of thePushMessageActivity.Builderavoiding the need to create one manually viaPushMessageActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topush(PushMessageActivity).- Parameters:
push- a consumer that will call methods onPushMessageActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
push(PushMessageActivity)
-
randomSplit
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
randomSplit
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 method that creates an instance of theRandomSplitActivity.Builderavoiding the need to create one manually viaRandomSplitActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torandomSplit(RandomSplitActivity).- Parameters:
randomSplit- a consumer that will call methods onRandomSplitActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
randomSplit(RandomSplitActivity)
-
sms
Activity.Builder sms(SMSMessageActivity sms)
The settings for an SMS activity. This type of activity sends a text message to participants.
- Parameters:
sms- The settings for an SMS activity. This type of activity sends a text message to participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
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 method that creates an instance of theSMSMessageActivity.Builderavoiding the need to create one manually viaSMSMessageActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosms(SMSMessageActivity).- Parameters:
sms- a consumer that will call methods onSMSMessageActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sms(SMSMessageActivity)
-
waitValue
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitValue
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 method that creates an instance of theWaitActivity.Builderavoiding the need to create one manually viaWaitActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towaitValue(WaitActivity).- Parameters:
wait- a consumer that will call methods onWaitActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
waitValue(WaitActivity)
-
contactCenter
Activity.Builder contactCenter(ContactCenterActivity contactCenter)
The settings for a connect activity. This type of activity initiates a contact center call to participants.
- Parameters:
contactCenter- The settings for a connect activity. This type of activity initiates a contact center call to participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactCenter
default Activity.Builder contactCenter(Consumer<ContactCenterActivity.Builder> contactCenter)
The settings for a connect activity. This type of activity initiates a contact center call to participants.
This is a convenience method that creates an instance of theContactCenterActivity.Builderavoiding the need to create one manually viaContactCenterActivity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontactCenter(ContactCenterActivity).- Parameters:
contactCenter- a consumer that will call methods onContactCenterActivity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
contactCenter(ContactCenterActivity)
-
-