@Generated(value="software.amazon.awssdk:codegen") public final class JourneyStateRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JourneyStateRequest.Builder,JourneyStateRequest>
Changes the status of a journey.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JourneyStateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JourneyStateRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends JourneyStateRequest.Builder> |
serializableBuilderClass() |
State |
state()
The status of the journey.
|
String |
stateAsString()
The status of the journey.
|
JourneyStateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic State state()
The status of the journey. Currently, the only supported value is CANCELLED.
If you cancel a journey, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Amazon Pinpoint also continues to collect and aggregate analytics data for those activities, until they are complete, and any activities that were complete when you cancelled the journey.
After you cancel a journey, you can't add, change, or remove any activities from the journey. In addition, Amazon Pinpoint stops evaluating the journey and doesn't perform any activities that haven't started.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
If you cancel a journey, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Amazon Pinpoint also continues to collect and aggregate analytics data for those activities, until they are complete, and any activities that were complete when you cancelled the journey.
After you cancel a journey, you can't add, change, or remove any activities from the journey. In addition, Amazon Pinpoint stops evaluating the journey and doesn't perform any activities that haven't started.
Statepublic String stateAsString()
The status of the journey. Currently, the only supported value is CANCELLED.
If you cancel a journey, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Amazon Pinpoint also continues to collect and aggregate analytics data for those activities, until they are complete, and any activities that were complete when you cancelled the journey.
After you cancel a journey, you can't add, change, or remove any activities from the journey. In addition, Amazon Pinpoint stops evaluating the journey and doesn't perform any activities that haven't started.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
If you cancel a journey, Amazon Pinpoint continues to perform activities that are currently in progress, until those activities are complete. Amazon Pinpoint also continues to collect and aggregate analytics data for those activities, until they are complete, and any activities that were complete when you cancelled the journey.
After you cancel a journey, you can't add, change, or remove any activities from the journey. In addition, Amazon Pinpoint stops evaluating the journey and doesn't perform any activities that haven't started.
Statepublic JourneyStateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JourneyStateRequest.Builder,JourneyStateRequest>public static JourneyStateRequest.Builder builder()
public static Class<? extends JourneyStateRequest.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.