public static interface WriteJourneyRequest.Builder extends SdkPojo, CopyableBuilder<WriteJourneyRequest.Builder,WriteJourneyRequest>
| Modifier and Type | Method and Description |
|---|---|
WriteJourneyRequest.Builder |
activities(Map<String,Activity> activities)
A map that contains a set of Activity objects, one object for each activity in the journey.
|
WriteJourneyRequest.Builder |
closedDays(ClosedDays closedDays)
The time when journey will stop sending messages.
|
default WriteJourneyRequest.Builder |
closedDays(Consumer<ClosedDays.Builder> closedDays)
The time when journey will stop sending messages.
|
WriteJourneyRequest.Builder |
creationDate(String creationDate)
The date, in ISO 8601 format, when the journey was created.
|
default WriteJourneyRequest.Builder |
journeyChannelSettings(Consumer<JourneyChannelSettings.Builder> journeyChannelSettings)
The channel-specific configurations for the journey.
|
WriteJourneyRequest.Builder |
journeyChannelSettings(JourneyChannelSettings journeyChannelSettings)
The channel-specific configurations for the journey.
|
WriteJourneyRequest.Builder |
lastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the journey was last modified.
|
default WriteJourneyRequest.Builder |
limits(Consumer<JourneyLimits.Builder> limits)
The messaging and entry limits for the journey.
|
WriteJourneyRequest.Builder |
limits(JourneyLimits limits)
The messaging and entry limits for the journey.
|
WriteJourneyRequest.Builder |
localTime(Boolean localTime)
Specifies whether the journey's scheduled start and end times use each participant's local time.
|
WriteJourneyRequest.Builder |
name(String name)
The name of the journey.
|
default WriteJourneyRequest.Builder |
openHours(Consumer<OpenHours.Builder> openHours)
The time when journey allow to send messages.
|
WriteJourneyRequest.Builder |
openHours(OpenHours openHours)
The time when journey allow to send messages.
|
default WriteJourneyRequest.Builder |
quietTime(Consumer<QuietTime.Builder> quietTime)
The quiet time settings for the journey.
|
WriteJourneyRequest.Builder |
quietTime(QuietTime quietTime)
The quiet time settings for the journey.
|
WriteJourneyRequest.Builder |
refreshFrequency(String refreshFrequency)
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in
ISO 8601 format.
|
WriteJourneyRequest.Builder |
refreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate)
Specifies whether a journey should be refreshed on segment update.
|
default WriteJourneyRequest.Builder |
schedule(Consumer<JourneySchedule.Builder> schedule)
The schedule settings for the journey.
|
WriteJourneyRequest.Builder |
schedule(JourneySchedule schedule)
The schedule settings for the journey.
|
WriteJourneyRequest.Builder |
sendingSchedule(Boolean sendingSchedule)
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays).
|
WriteJourneyRequest.Builder |
startActivity(String startActivity)
The unique identifier for the first activity in the journey.
|
default WriteJourneyRequest.Builder |
startCondition(Consumer<StartCondition.Builder> startCondition)
The segment that defines which users are participants in the journey.
|
WriteJourneyRequest.Builder |
startCondition(StartCondition startCondition)
The segment that defines which users are participants in the journey.
|
WriteJourneyRequest.Builder |
state(State state)
The status of the journey.
|
WriteJourneyRequest.Builder |
state(String state)
The status of the journey.
|
WriteJourneyRequest.Builder |
waitForQuietTime(Boolean waitForQuietTime)
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWriteJourneyRequest.Builder activities(Map<String,Activity> activities)
A map that contains a set of Activity objects, one object for each activity in the journey. For each Activity object, the key is the unique identifier (string) for an activity and the value is the settings for the activity. An activity identifier can contain a maximum of 100 characters. The characters must be alphanumeric characters.
activities - A map that contains a set of Activity objects, one object for each activity in the journey. For each
Activity object, the key is the unique identifier (string) for an activity and the value is the
settings for the activity. An activity identifier can contain a maximum of 100 characters. The
characters must be alphanumeric characters.WriteJourneyRequest.Builder creationDate(String creationDate)
The date, in ISO 8601 format, when the journey was created.
creationDate - The date, in ISO 8601 format, when the journey was created.WriteJourneyRequest.Builder lastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the journey was last modified.
lastModifiedDate - The date, in ISO 8601 format, when the journey was last modified.WriteJourneyRequest.Builder limits(JourneyLimits limits)
The messaging and entry limits for the journey.
limits - The messaging and entry limits for the journey.default WriteJourneyRequest.Builder limits(Consumer<JourneyLimits.Builder> limits)
The messaging and entry limits for the journey.
This is a convenience method that creates an instance of theJourneyLimits.Builder avoiding the need
to create one manually via JourneyLimits.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to limits(JourneyLimits).
limits - a consumer that will call methods on JourneyLimits.Builderlimits(JourneyLimits)WriteJourneyRequest.Builder localTime(Boolean localTime)
Specifies whether the journey's scheduled start and end times use each participant's local time. To base the schedule on each participant's local time, set this value to true.
localTime - Specifies whether the journey's scheduled start and end times use each participant's local time. To
base the schedule on each participant's local time, set this value to true.WriteJourneyRequest.Builder name(String name)
The name of the journey. A journey name can contain a maximum of 150 characters. The characters can be alphanumeric characters or symbols, such as underscores (_) or hyphens (-). A journey name can't contain any spaces.
name - The name of the journey. A journey name can contain a maximum of 150 characters. The characters can be
alphanumeric characters or symbols, such as underscores (_) or hyphens (-). A journey name can't
contain any spaces.WriteJourneyRequest.Builder quietTime(QuietTime quietTime)
The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value.
The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey.
The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey.
If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.
quietTime - The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't
send messages to participants, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value.
The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey.
The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey.
If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.
default WriteJourneyRequest.Builder quietTime(Consumer<QuietTime.Builder> quietTime)
The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value.
The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey.
The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey.
If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.
This is a convenience method that creates an instance of theQuietTime.Builder avoiding the need to
create one manually via QuietTime.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to quietTime(QuietTime).
quietTime - a consumer that will call methods on QuietTime.BuilderquietTime(QuietTime)WriteJourneyRequest.Builder refreshFrequency(String refreshFrequency)
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.
refreshFrequency - The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a
duration in ISO 8601 format.WriteJourneyRequest.Builder schedule(JourneySchedule schedule)
The schedule settings for the journey.
schedule - The schedule settings for the journey.default WriteJourneyRequest.Builder schedule(Consumer<JourneySchedule.Builder> schedule)
The schedule settings for the journey.
This is a convenience method that creates an instance of theJourneySchedule.Builder avoiding the
need to create one manually via JourneySchedule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to schedule(JourneySchedule).
schedule - a consumer that will call methods on JourneySchedule.Builderschedule(JourneySchedule)WriteJourneyRequest.Builder startActivity(String startActivity)
The unique identifier for the first activity in the journey. The identifier for this activity can contain a maximum of 128 characters. The characters must be alphanumeric characters.
startActivity - The unique identifier for the first activity in the journey. The identifier for this activity can
contain a maximum of 128 characters. The characters must be alphanumeric characters.WriteJourneyRequest.Builder startCondition(StartCondition startCondition)
The segment that defines which users are participants in the journey.
startCondition - The segment that defines which users are participants in the journey.default WriteJourneyRequest.Builder startCondition(Consumer<StartCondition.Builder> startCondition)
The segment that defines which users are participants in the journey.
This is a convenience method that creates an instance of theStartCondition.Builder avoiding the need
to create one manually via StartCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to startCondition(StartCondition).
startCondition - a consumer that will call methods on StartCondition.BuilderstartCondition(StartCondition)WriteJourneyRequest.Builder state(String state)
The status of the journey. Valid values are:
DRAFT - Saves the journey and doesn't publish it.
ACTIVE - Saves and publishes the journey. Depending on the journey's schedule, the journey starts running immediately or at the scheduled start time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
PAUSED, CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create or update a journey. To cancel, pause, or resume a journey, use the Journey State resource.
state - The status of the journey. Valid values are:
DRAFT - Saves the journey and doesn't publish it.
ACTIVE - Saves and publishes the journey. Depending on the journey's schedule, the journey starts running immediately or at the scheduled start time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
PAUSED, CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create or update a journey. To cancel, pause, or resume a journey, use the Journey State resource.
State,
StateWriteJourneyRequest.Builder state(State state)
The status of the journey. Valid values are:
DRAFT - Saves the journey and doesn't publish it.
ACTIVE - Saves and publishes the journey. Depending on the journey's schedule, the journey starts running immediately or at the scheduled start time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
PAUSED, CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create or update a journey. To cancel, pause, or resume a journey, use the Journey State resource.
state - The status of the journey. Valid values are:
DRAFT - Saves the journey and doesn't publish it.
ACTIVE - Saves and publishes the journey. Depending on the journey's schedule, the journey starts running immediately or at the scheduled start time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
PAUSED, CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create or update a journey. To cancel, pause, or resume a journey, use the Journey State resource.
State,
StateWriteJourneyRequest.Builder waitForQuietTime(Boolean waitForQuietTime)
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
waitForQuietTime - Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.WriteJourneyRequest.Builder refreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate)
Specifies whether a journey should be refreshed on segment update.
refreshOnSegmentUpdate - Specifies whether a journey should be refreshed on segment update.WriteJourneyRequest.Builder journeyChannelSettings(JourneyChannelSettings journeyChannelSettings)
The channel-specific configurations for the journey.
journeyChannelSettings - The channel-specific configurations for the journey.default WriteJourneyRequest.Builder journeyChannelSettings(Consumer<JourneyChannelSettings.Builder> journeyChannelSettings)
The channel-specific configurations for the journey.
This is a convenience method that creates an instance of theJourneyChannelSettings.Builder avoiding
the need to create one manually via JourneyChannelSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to journeyChannelSettings(JourneyChannelSettings).
journeyChannelSettings - a consumer that will call methods on JourneyChannelSettings.BuilderjourneyChannelSettings(JourneyChannelSettings)WriteJourneyRequest.Builder sendingSchedule(Boolean sendingSchedule)
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)
sendingSchedule - Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to
true in order to allow (OpenHours and ClosedDays)WriteJourneyRequest.Builder openHours(OpenHours openHours)
The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.
openHours - The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule
should be set to true.default WriteJourneyRequest.Builder openHours(Consumer<OpenHours.Builder> openHours)
The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.
This is a convenience method that creates an instance of theOpenHours.Builder avoiding the need to
create one manually via OpenHours.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to openHours(OpenHours).
openHours - a consumer that will call methods on OpenHours.BuilderopenHours(OpenHours)WriteJourneyRequest.Builder closedDays(ClosedDays closedDays)
The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.
closedDays - The time when journey will stop sending messages. QuietTime should be configured first and
SendingSchedule should be set to true.default WriteJourneyRequest.Builder closedDays(Consumer<ClosedDays.Builder> closedDays)
The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.
This is a convenience method that creates an instance of theClosedDays.Builder avoiding the need to
create one manually via ClosedDays.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to closedDays(ClosedDays).
closedDays - a consumer that will call methods on ClosedDays.BuilderclosedDays(ClosedDays)Copyright © 2022. All rights reserved.