@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status, configuration, and other settings for a journey.
Constructor and Description |
---|
JourneyResponse() |
Modifier and Type | Method and Description |
---|---|
JourneyResponse |
addActivitiesEntry(String key,
Activity value)
Add a single Activities entry
|
JourneyResponse |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
JourneyResponse |
clearActivitiesEntries()
Removes all the entries added into Activities.
|
JourneyResponse |
clearTagsEntries()
Removes all the entries added into Tags.
|
JourneyResponse |
clone() |
boolean |
equals(Object obj) |
Map<String,Activity> |
getActivities()
A map that contains a set of Activity objects, one object for each activity in the journey.
|
String |
getApplicationId()
The unique identifier for the application that the journey applies to.
|
ClosedDays |
getClosedDays()
The time when journey will stop sending messages.
|
String |
getCreationDate()
The date, in ISO 8601 format, when the journey was created.
|
String |
getId()
The unique identifier for the journey.
|
JourneyChannelSettings |
getJourneyChannelSettings()
The channel-specific configurations for the journey.
|
String |
getLastModifiedDate()
The date, in ISO 8601 format, when the journey was last modified.
|
JourneyLimits |
getLimits()
The messaging and entry limits for the journey.
|
Boolean |
getLocalTime()
Specifies whether the journey's scheduled start and end times use each participant's local time.
|
String |
getName()
The name of the journey.
|
OpenHours |
getOpenHours()
The time when journey allow to send messages.
|
QuietTime |
getQuietTime()
The quiet time settings for the journey.
|
String |
getRefreshFrequency()
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO
8601 format.
|
Boolean |
getRefreshOnSegmentUpdate()
Specifies whether a journey should be refreshed on segment update.
|
JourneySchedule |
getSchedule()
The schedule settings for the journey.
|
Boolean |
getSendingSchedule()
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays).
|
String |
getStartActivity()
The unique identifier for the first activity in the journey.
|
StartCondition |
getStartCondition()
The segment that defines which users are participants in the journey.
|
String |
getState()
The current status of the journey.
|
Map<String,String> |
getTags()
This object is not used or supported.
|
Boolean |
getWaitForQuietTime()
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
|
int |
hashCode() |
Boolean |
isLocalTime()
Specifies whether the journey's scheduled start and end times use each participant's local time.
|
Boolean |
isRefreshOnSegmentUpdate()
Specifies whether a journey should be refreshed on segment update.
|
Boolean |
isSendingSchedule()
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays).
|
Boolean |
isWaitForQuietTime()
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivities(Map<String,Activity> activities)
A map that contains a set of Activity objects, one object for each activity in the journey.
|
void |
setApplicationId(String applicationId)
The unique identifier for the application that the journey applies to.
|
void |
setClosedDays(ClosedDays closedDays)
The time when journey will stop sending messages.
|
void |
setCreationDate(String creationDate)
The date, in ISO 8601 format, when the journey was created.
|
void |
setId(String id)
The unique identifier for the journey.
|
void |
setJourneyChannelSettings(JourneyChannelSettings journeyChannelSettings)
The channel-specific configurations for the journey.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the journey was last modified.
|
void |
setLimits(JourneyLimits limits)
The messaging and entry limits for the journey.
|
void |
setLocalTime(Boolean localTime)
Specifies whether the journey's scheduled start and end times use each participant's local time.
|
void |
setName(String name)
The name of the journey.
|
void |
setOpenHours(OpenHours openHours)
The time when journey allow to send messages.
|
void |
setQuietTime(QuietTime quietTime)
The quiet time settings for the journey.
|
void |
setRefreshFrequency(String refreshFrequency)
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO
8601 format.
|
void |
setRefreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate)
Specifies whether a journey should be refreshed on segment update.
|
void |
setSchedule(JourneySchedule schedule)
The schedule settings for the journey.
|
void |
setSendingSchedule(Boolean sendingSchedule)
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays).
|
void |
setStartActivity(String startActivity)
The unique identifier for the first activity in the journey.
|
void |
setStartCondition(StartCondition startCondition)
The segment that defines which users are participants in the journey.
|
void |
setState(String state)
The current status of the journey.
|
void |
setTags(Map<String,String> tags)
This object is not used or supported.
|
void |
setWaitForQuietTime(Boolean waitForQuietTime)
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
|
String |
toString()
Returns a string representation of this object.
|
JourneyResponse |
withActivities(Map<String,Activity> activities)
A map that contains a set of Activity objects, one object for each activity in the journey.
|
JourneyResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the journey applies to.
|
JourneyResponse |
withClosedDays(ClosedDays closedDays)
The time when journey will stop sending messages.
|
JourneyResponse |
withCreationDate(String creationDate)
The date, in ISO 8601 format, when the journey was created.
|
JourneyResponse |
withId(String id)
The unique identifier for the journey.
|
JourneyResponse |
withJourneyChannelSettings(JourneyChannelSettings journeyChannelSettings)
The channel-specific configurations for the journey.
|
JourneyResponse |
withLastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the journey was last modified.
|
JourneyResponse |
withLimits(JourneyLimits limits)
The messaging and entry limits for the journey.
|
JourneyResponse |
withLocalTime(Boolean localTime)
Specifies whether the journey's scheduled start and end times use each participant's local time.
|
JourneyResponse |
withName(String name)
The name of the journey.
|
JourneyResponse |
withOpenHours(OpenHours openHours)
The time when journey allow to send messages.
|
JourneyResponse |
withQuietTime(QuietTime quietTime)
The quiet time settings for the journey.
|
JourneyResponse |
withRefreshFrequency(String refreshFrequency)
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO
8601 format.
|
JourneyResponse |
withRefreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate)
Specifies whether a journey should be refreshed on segment update.
|
JourneyResponse |
withSchedule(JourneySchedule schedule)
The schedule settings for the journey.
|
JourneyResponse |
withSendingSchedule(Boolean sendingSchedule)
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays).
|
JourneyResponse |
withStartActivity(String startActivity)
The unique identifier for the first activity in the journey.
|
JourneyResponse |
withStartCondition(StartCondition startCondition)
The segment that defines which users are participants in the journey.
|
JourneyResponse |
withState(State state)
The current status of the journey.
|
JourneyResponse |
withState(String state)
The current status of the journey.
|
JourneyResponse |
withTags(Map<String,String> tags)
This object is not used or supported.
|
JourneyResponse |
withWaitForQuietTime(Boolean waitForQuietTime)
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
|
public Map<String,Activity> getActivities()
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.
public void setActivities(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.
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.public JourneyResponse withActivities(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.
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.public JourneyResponse addActivitiesEntry(String key, Activity value)
public JourneyResponse clearActivitiesEntries()
public void setApplicationId(String applicationId)
The unique identifier for the application that the journey applies to.
applicationId
- The unique identifier for the application that the journey applies to.public String getApplicationId()
The unique identifier for the application that the journey applies to.
public JourneyResponse withApplicationId(String applicationId)
The unique identifier for the application that the journey applies to.
applicationId
- The unique identifier for the application that the journey applies to.public void setCreationDate(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.public String getCreationDate()
The date, in ISO 8601 format, when the journey was created.
public JourneyResponse withCreationDate(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.public void setId(String id)
The unique identifier for the journey.
id
- The unique identifier for the journey.public String getId()
The unique identifier for the journey.
public JourneyResponse withId(String id)
The unique identifier for the journey.
id
- The unique identifier for the journey.public void setLastModifiedDate(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.public String getLastModifiedDate()
The date, in ISO 8601 format, when the journey was last modified.
public JourneyResponse withLastModifiedDate(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.public void setLimits(JourneyLimits limits)
The messaging and entry limits for the journey.
limits
- The messaging and entry limits for the journey.public JourneyLimits getLimits()
The messaging and entry limits for the journey.
public JourneyResponse withLimits(JourneyLimits limits)
The messaging and entry limits for the journey.
limits
- The messaging and entry limits for the journey.public void setLocalTime(Boolean localTime)
Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.
localTime
- Specifies whether the journey's scheduled start and end times use each participant's local time. If this
value is true, the schedule uses each participant's local time.public Boolean getLocalTime()
Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.
public JourneyResponse withLocalTime(Boolean localTime)
Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.
localTime
- Specifies whether the journey's scheduled start and end times use each participant's local time. If this
value is true, the schedule uses each participant's local time.public Boolean isLocalTime()
Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.
public void setName(String name)
The name of the journey.
name
- The name of the journey.public String getName()
The name of the journey.
public JourneyResponse withName(String name)
The name of the journey.
name
- The name of the journey.public void setQuietTime(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.
public QuietTime getQuietTime()
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.
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.
public JourneyResponse withQuietTime(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.
public void setRefreshFrequency(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.public String getRefreshFrequency()
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.
public JourneyResponse withRefreshFrequency(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.public void setSchedule(JourneySchedule schedule)
The schedule settings for the journey.
schedule
- The schedule settings for the journey.public JourneySchedule getSchedule()
The schedule settings for the journey.
public JourneyResponse withSchedule(JourneySchedule schedule)
The schedule settings for the journey.
schedule
- The schedule settings for the journey.public void setStartActivity(String startActivity)
The unique identifier for the first activity in the journey.
startActivity
- The unique identifier for the first activity in the journey.public String getStartActivity()
The unique identifier for the first activity in the journey.
public JourneyResponse withStartActivity(String startActivity)
The unique identifier for the first activity in the journey.
startActivity
- The unique identifier for the first activity in the journey.public void setStartCondition(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.public StartCondition getStartCondition()
The segment that defines which users are participants in the journey.
public JourneyResponse withStartCondition(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.public void setState(String state)
The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
state
- The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
State
public String getState()
The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
State
public JourneyResponse withState(String state)
The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
state
- The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
State
public JourneyResponse withState(State state)
The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
state
- The current status of the journey. Possible values are:
DRAFT - The journey is being developed and hasn't been published yet.
ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.
COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.
CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.
CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.
State
public Map<String,String> getTags()
This object is not used or supported.
public void setTags(Map<String,String> tags)
This object is not used or supported.
tags
- This object is not used or supported.public JourneyResponse withTags(Map<String,String> tags)
This object is not used or supported.
tags
- This object is not used or supported.public JourneyResponse addTagsEntry(String key, String value)
public JourneyResponse clearTagsEntries()
public void setWaitForQuietTime(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.public Boolean getWaitForQuietTime()
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
public JourneyResponse withWaitForQuietTime(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.public Boolean isWaitForQuietTime()
Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.
public void setRefreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate)
Specifies whether a journey should be refreshed on segment update.
refreshOnSegmentUpdate
- Specifies whether a journey should be refreshed on segment update.public Boolean getRefreshOnSegmentUpdate()
Specifies whether a journey should be refreshed on segment update.
public JourneyResponse withRefreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate)
Specifies whether a journey should be refreshed on segment update.
refreshOnSegmentUpdate
- Specifies whether a journey should be refreshed on segment update.public Boolean isRefreshOnSegmentUpdate()
Specifies whether a journey should be refreshed on segment update.
public void setJourneyChannelSettings(JourneyChannelSettings journeyChannelSettings)
The channel-specific configurations for the journey.
journeyChannelSettings
- The channel-specific configurations for the journey.public JourneyChannelSettings getJourneyChannelSettings()
The channel-specific configurations for the journey.
public JourneyResponse withJourneyChannelSettings(JourneyChannelSettings journeyChannelSettings)
The channel-specific configurations for the journey.
journeyChannelSettings
- The channel-specific configurations for the journey.public void setSendingSchedule(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)public Boolean getSendingSchedule()
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)
public JourneyResponse withSendingSchedule(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)public Boolean isSendingSchedule()
Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)
public void setOpenHours(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.public OpenHours getOpenHours()
The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.
public JourneyResponse withOpenHours(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.public void setClosedDays(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.public ClosedDays getClosedDays()
The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.
public JourneyResponse withClosedDays(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.public String toString()
toString
in class Object
Object.toString()
public JourneyResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.