/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.pinpoint.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides information about the status, configuration, and other settings for a journey. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class JourneyResponse implements Serializable, Cloneable, StructuredPojo { /** ** 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. *
*/ private java.util.Map* The unique identifier for the application that the journey applies to. *
*/ private String applicationId; /** ** The date, in ISO 8601 format, when the journey was created. *
*/ private String creationDate; /** ** The unique identifier for the journey. *
*/ private String id; /** ** The date, in ISO 8601 format, when the journey was last modified. *
*/ private String lastModifiedDate; /** ** The messaging and entry limits for the journey. *
*/ private JourneyLimits limits; /** ** 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. *
*/ private Boolean localTime; /** ** The name of the journey. *
*/ private String name; /** ** 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. *
*/ private QuietTime quietTime; /** ** The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO * 8601 format. *
*/ private String refreshFrequency; /** ** The schedule settings for the journey. *
*/ private JourneySchedule schedule; /** ** The unique identifier for the first activity in the journey. *
*/ private String startActivity; /** ** The segment that defines which users are participants in the journey. *
*/ private StartCondition startCondition; /** ** 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. *
** This object is not used or supported. *
*/ private java.util.Map* Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. *
*/ private Boolean waitForQuietTime; /** ** Indicates whether the journey participants should be refreshed when a segment is updated. *
*/ private Boolean refreshOnSegmentUpdate; /** ** The channel-specific configurations for the journey. *
*/ private JourneyChannelSettings journeyChannelSettings; /** ** Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using * OpenHours and ClosedDays. *
*/ private Boolean sendingSchedule; /** ** The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should be set * to true. *
*/ private OpenHours openHours; /** ** The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should * be set to true. *
*/ private ClosedDays closedDays; /** ** An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, * France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** 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. *
* * @return 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 java.util.Map* 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. *
* * @param 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 void setActivities(java.util.Map* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withActivities(java.util.Map* The unique identifier for the application that the journey applies to. *
* * @param applicationId * The unique identifier for the application that the journey applies to. */ public void setApplicationId(String applicationId) { this.applicationId = applicationId; } /** ** The unique identifier for the application that the journey applies to. *
* * @return The unique identifier for the application that the journey applies to. */ public String getApplicationId() { return this.applicationId; } /** ** The unique identifier for the application that the journey applies to. *
* * @param applicationId * The unique identifier for the application that the journey applies to. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withApplicationId(String applicationId) { setApplicationId(applicationId); return this; } /** ** The date, in ISO 8601 format, when the journey was created. *
* * @param creationDate * The date, in ISO 8601 format, when the journey was created. */ public void setCreationDate(String creationDate) { this.creationDate = creationDate; } /** ** The date, in ISO 8601 format, when the journey was created. *
* * @return The date, in ISO 8601 format, when the journey was created. */ public String getCreationDate() { return this.creationDate; } /** ** The date, in ISO 8601 format, when the journey was created. *
* * @param creationDate * The date, in ISO 8601 format, when the journey was created. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withCreationDate(String creationDate) { setCreationDate(creationDate); return this; } /** ** The unique identifier for the journey. *
* * @param id * The unique identifier for the journey. */ public void setId(String id) { this.id = id; } /** ** The unique identifier for the journey. *
* * @return The unique identifier for the journey. */ public String getId() { return this.id; } /** ** The unique identifier for the journey. *
* * @param id * The unique identifier for the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withId(String id) { setId(id); return this; } /** ** The date, in ISO 8601 format, when the journey was last modified. *
* * @param lastModifiedDate * The date, in ISO 8601 format, when the journey was last modified. */ public void setLastModifiedDate(String lastModifiedDate) { this.lastModifiedDate = lastModifiedDate; } /** ** The date, in ISO 8601 format, when the journey was last modified. *
* * @return The date, in ISO 8601 format, when the journey was last modified. */ public String getLastModifiedDate() { return this.lastModifiedDate; } /** ** The date, in ISO 8601 format, when the journey was last modified. *
* * @param lastModifiedDate * The date, in ISO 8601 format, when the journey was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withLastModifiedDate(String lastModifiedDate) { setLastModifiedDate(lastModifiedDate); return this; } /** ** The messaging and entry limits for the journey. *
* * @param limits * The messaging and entry limits for the journey. */ public void setLimits(JourneyLimits limits) { this.limits = limits; } /** ** The messaging and entry limits for the journey. *
* * @return The messaging and entry limits for the journey. */ public JourneyLimits getLimits() { return this.limits; } /** ** The messaging and entry limits for the journey. *
* * @param limits * The messaging and entry limits for the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withLimits(JourneyLimits limits) { setLimits(limits); return this; } /** ** 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. *
* * @param 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 void setLocalTime(Boolean localTime) { this.localTime = 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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withLocalTime(Boolean localTime) { setLocalTime(localTime); return this; } /** ** 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. *
* * @return 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() { return this.localTime; } /** ** The name of the journey. *
* * @param name * The name of the journey. */ public void setName(String name) { this.name = name; } /** ** The name of the journey. *
* * @return The name of the journey. */ public String getName() { return this.name; } /** ** The name of the journey. *
* * @param name * The name of the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withName(String name) { setName(name); return this; } /** ** 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. *
* * @param 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 setQuietTime(QuietTime quietTime) { this.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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withQuietTime(QuietTime quietTime) { setQuietTime(quietTime); return this; } /** *
* The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO * 8601 format. *
* * @param refreshFrequency * The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration * in ISO 8601 format. */ public void setRefreshFrequency(String refreshFrequency) { this.refreshFrequency = refreshFrequency; } /** ** The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO * 8601 format. *
* * @return The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration * in ISO 8601 format. */ public String getRefreshFrequency() { return this.refreshFrequency; } /** ** The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO * 8601 format. *
* * @param refreshFrequency * The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration * in ISO 8601 format. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withRefreshFrequency(String refreshFrequency) { setRefreshFrequency(refreshFrequency); return this; } /** ** The schedule settings for the journey. *
* * @param schedule * The schedule settings for the journey. */ public void setSchedule(JourneySchedule schedule) { this.schedule = schedule; } /** ** The schedule settings for the journey. *
* * @return The schedule settings for the journey. */ public JourneySchedule getSchedule() { return this.schedule; } /** ** The schedule settings for the journey. *
* * @param schedule * The schedule settings for the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withSchedule(JourneySchedule schedule) { setSchedule(schedule); return this; } /** ** The unique identifier for the first activity in the journey. *
* * @param startActivity * The unique identifier for the first activity in the journey. */ public void setStartActivity(String startActivity) { this.startActivity = startActivity; } /** ** The unique identifier for the first activity in the journey. *
* * @return The unique identifier for the first activity in the journey. */ public String getStartActivity() { return this.startActivity; } /** ** The unique identifier for the first activity in the journey. *
* * @param startActivity * The unique identifier for the first activity in the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withStartActivity(String startActivity) { setStartActivity(startActivity); return this; } /** ** The segment that defines which users are participants in the journey. *
* * @param startCondition * The segment that defines which users are participants in the journey. */ public void setStartCondition(StartCondition startCondition) { this.startCondition = startCondition; } /** ** The segment that defines which users are participants in the journey. *
* * @return The segment that defines which users are participants in the journey. */ public StartCondition getStartCondition() { return this.startCondition; } /** ** The segment that defines which users are participants in the journey. *
* * @param startCondition * The segment that defines which users are participants in the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withStartCondition(StartCondition startCondition) { setStartCondition(startCondition); return this; } /** ** 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. *
** 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. *
** 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. *
** 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. *
** This object is not used or supported. *
* * @return This object is not used or supported. */ public java.util.Map* This object is not used or supported. *
* * @param tags * This object is not used or supported. */ public void setTags(java.util.Map* This object is not used or supported. *
* * @param tags * This object is not used or supported. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withTags(java.util.Map* Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. *
* * @param waitForQuietTime * Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. */ public void setWaitForQuietTime(Boolean waitForQuietTime) { this.waitForQuietTime = waitForQuietTime; } /** ** Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. *
* * @return Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. */ public Boolean getWaitForQuietTime() { return this.waitForQuietTime; } /** ** Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. *
* * @param waitForQuietTime * Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withWaitForQuietTime(Boolean waitForQuietTime) { setWaitForQuietTime(waitForQuietTime); return this; } /** ** Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. *
* * @return Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. */ public Boolean isWaitForQuietTime() { return this.waitForQuietTime; } /** ** Indicates whether the journey participants should be refreshed when a segment is updated. *
* * @param refreshOnSegmentUpdate * Indicates whether the journey participants should be refreshed when a segment is updated. */ public void setRefreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate) { this.refreshOnSegmentUpdate = refreshOnSegmentUpdate; } /** ** Indicates whether the journey participants should be refreshed when a segment is updated. *
* * @return Indicates whether the journey participants should be refreshed when a segment is updated. */ public Boolean getRefreshOnSegmentUpdate() { return this.refreshOnSegmentUpdate; } /** ** Indicates whether the journey participants should be refreshed when a segment is updated. *
* * @param refreshOnSegmentUpdate * Indicates whether the journey participants should be refreshed when a segment is updated. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withRefreshOnSegmentUpdate(Boolean refreshOnSegmentUpdate) { setRefreshOnSegmentUpdate(refreshOnSegmentUpdate); return this; } /** ** Indicates whether the journey participants should be refreshed when a segment is updated. *
* * @return Indicates whether the journey participants should be refreshed when a segment is updated. */ public Boolean isRefreshOnSegmentUpdate() { return this.refreshOnSegmentUpdate; } /** ** The channel-specific configurations for the journey. *
* * @param journeyChannelSettings * The channel-specific configurations for the journey. */ public void setJourneyChannelSettings(JourneyChannelSettings journeyChannelSettings) { this.journeyChannelSettings = journeyChannelSettings; } /** ** The channel-specific configurations for the journey. *
* * @return The channel-specific configurations for the journey. */ public JourneyChannelSettings getJourneyChannelSettings() { return this.journeyChannelSettings; } /** ** The channel-specific configurations for the journey. *
* * @param journeyChannelSettings * The channel-specific configurations for the journey. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withJourneyChannelSettings(JourneyChannelSettings journeyChannelSettings) { setJourneyChannelSettings(journeyChannelSettings); return this; } /** ** Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using * OpenHours and ClosedDays. *
* * @param sendingSchedule * Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow * using OpenHours and ClosedDays. */ public void setSendingSchedule(Boolean sendingSchedule) { this.sendingSchedule = sendingSchedule; } /** ** Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using * OpenHours and ClosedDays. *
* * @return Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow * using OpenHours and ClosedDays. */ public Boolean getSendingSchedule() { return this.sendingSchedule; } /** ** Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using * OpenHours and ClosedDays. *
* * @param sendingSchedule * Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow * using OpenHours and ClosedDays. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withSendingSchedule(Boolean sendingSchedule) { setSendingSchedule(sendingSchedule); return this; } /** ** Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using * OpenHours and ClosedDays. *
* * @return Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow * using OpenHours and ClosedDays. */ public Boolean isSendingSchedule() { return this.sendingSchedule; } /** ** The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should be set * to true. *
* * @param openHours * The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should * be set to true. */ public void setOpenHours(OpenHours openHours) { this.openHours = openHours; } /** ** The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should be set * to true. *
* * @return The time when a journey can send messages. QuietTime should be configured first and SendingSchedule * should be set to true. */ public OpenHours getOpenHours() { return this.openHours; } /** ** The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should be set * to true. *
* * @param openHours * The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should * be set to true. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withOpenHours(OpenHours openHours) { setOpenHours(openHours); return this; } /** ** The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should * be set to true. *
* * @param closedDays * The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule * should be set to true. */ public void setClosedDays(ClosedDays closedDays) { this.closedDays = closedDays; } /** ** The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should * be set to true. *
* * @return The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule * should be set to true. */ public ClosedDays getClosedDays() { return this.closedDays; } /** ** The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should * be set to true. *
* * @param closedDays * The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule * should be set to true. * @return Returns a reference to this object so that method calls can be chained together. */ public JourneyResponse withClosedDays(ClosedDays closedDays) { setClosedDays(closedDays); return this; } /** ** An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, * France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, * Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, * France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, * Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, * France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTimezoneEstimationMethods(java.util.Collection)} or * {@link #withTimezoneEstimationMethods(java.util.Collection)} if you want to override the existing values. *
* * @param timezoneEstimationMethods * An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. ** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, * Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, * France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, * Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, * France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
** PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. *
** POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country. *
** POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, * Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available. *
*