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 |
creationDate(String 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.
|
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 |
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.
|
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 |
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.
|
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 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 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 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 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.
The CANCELLED, COMPLETED, and CLOSED values are not supported in requests to create or update a journey. To cancel 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.
The CANCELLED, COMPLETED, and CLOSED values are not supported in requests to create or update a journey. To cancel 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.
The CANCELLED, COMPLETED, and CLOSED values are not supported in requests to create or update a journey. To cancel 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.
The CANCELLED, COMPLETED, and CLOSED values are not supported in requests to create or update a journey. To cancel a journey, use the Journey State resource.
State,
StateCopyright © 2021. All rights reserved.