@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyExecutionActivityMetricsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey activity, and provides information about that query.
Constructor and Description |
---|
JourneyExecutionActivityMetricsResponse() |
Modifier and Type | Method and Description |
---|---|
JourneyExecutionActivityMetricsResponse |
addMetricsEntry(String key,
String value)
Add a single Metrics entry
|
JourneyExecutionActivityMetricsResponse |
clearMetricsEntries()
Removes all the entries added into Metrics.
|
JourneyExecutionActivityMetricsResponse |
clone() |
boolean |
equals(Object obj) |
String |
getActivityType()
The type of activity that the metric applies to.
|
String |
getApplicationId()
The unique identifier for the application that the metric applies to.
|
String |
getJourneyActivityId()
The unique identifier for the activity that the metric applies to.
|
String |
getJourneyId()
The unique identifier for the journey that the metric applies to.
|
String |
getLastEvaluatedTime()
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity
and updated the data for the metric.
|
Map<String,String> |
getMetrics()
A JSON object that contains the results of the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivityType(String activityType)
The type of activity that the metric applies to.
|
void |
setApplicationId(String applicationId)
The unique identifier for the application that the metric applies to.
|
void |
setJourneyActivityId(String journeyActivityId)
The unique identifier for the activity that the metric applies to.
|
void |
setJourneyId(String journeyId)
The unique identifier for the journey that the metric applies to.
|
void |
setLastEvaluatedTime(String lastEvaluatedTime)
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity
and updated the data for the metric.
|
void |
setMetrics(Map<String,String> metrics)
A JSON object that contains the results of the query.
|
String |
toString()
Returns a string representation of this object.
|
JourneyExecutionActivityMetricsResponse |
withActivityType(String activityType)
The type of activity that the metric applies to.
|
JourneyExecutionActivityMetricsResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the metric applies to.
|
JourneyExecutionActivityMetricsResponse |
withJourneyActivityId(String journeyActivityId)
The unique identifier for the activity that the metric applies to.
|
JourneyExecutionActivityMetricsResponse |
withJourneyId(String journeyId)
The unique identifier for the journey that the metric applies to.
|
JourneyExecutionActivityMetricsResponse |
withLastEvaluatedTime(String lastEvaluatedTime)
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity
and updated the data for the metric.
|
JourneyExecutionActivityMetricsResponse |
withMetrics(Map<String,String> metrics)
A JSON object that contains the results of the query.
|
public JourneyExecutionActivityMetricsResponse()
public void setActivityType(String activityType)
The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE – For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
activityType
- The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE – For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
public String getActivityType()
The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE – For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE – For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
public JourneyExecutionActivityMetricsResponse withActivityType(String activityType)
The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE – For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
activityType
- The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT – For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT – For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE – For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT – For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT – For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT – For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
public void setApplicationId(String applicationId)
The unique identifier for the application that the metric applies to.
applicationId
- The unique identifier for the application that the metric applies to.public String getApplicationId()
The unique identifier for the application that the metric applies to.
public JourneyExecutionActivityMetricsResponse withApplicationId(String applicationId)
The unique identifier for the application that the metric applies to.
applicationId
- The unique identifier for the application that the metric applies to.public void setJourneyActivityId(String journeyActivityId)
The unique identifier for the activity that the metric applies to.
journeyActivityId
- The unique identifier for the activity that the metric applies to.public String getJourneyActivityId()
The unique identifier for the activity that the metric applies to.
public JourneyExecutionActivityMetricsResponse withJourneyActivityId(String journeyActivityId)
The unique identifier for the activity that the metric applies to.
journeyActivityId
- The unique identifier for the activity that the metric applies to.public void setJourneyId(String journeyId)
The unique identifier for the journey that the metric applies to.
journeyId
- The unique identifier for the journey that the metric applies to.public String getJourneyId()
The unique identifier for the journey that the metric applies to.
public JourneyExecutionActivityMetricsResponse withJourneyId(String journeyId)
The unique identifier for the journey that the metric applies to.
journeyId
- The unique identifier for the journey that the metric applies to.public void setLastEvaluatedTime(String lastEvaluatedTime)
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity and updated the data for the metric.
lastEvaluatedTime
- The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the
activity and updated the data for the metric.public String getLastEvaluatedTime()
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity and updated the data for the metric.
public JourneyExecutionActivityMetricsResponse withLastEvaluatedTime(String lastEvaluatedTime)
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity and updated the data for the metric.
lastEvaluatedTime
- The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the
activity and updated the data for the metric.public Map<String,String> getMetrics()
A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.
public void setMetrics(Map<String,String> metrics)
A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.
metrics
- A JSON object that contains the results of the query. The results vary depending on the type of activity
(ActivityType). For information about the structure and contents of the results, see the Amazon
Pinpoint Developer Guide.public JourneyExecutionActivityMetricsResponse withMetrics(Map<String,String> metrics)
A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.
metrics
- A JSON object that contains the results of the query. The results vary depending on the type of activity
(ActivityType). For information about the structure and contents of the results, see the Amazon
Pinpoint Developer Guide.public JourneyExecutionActivityMetricsResponse addMetricsEntry(String key, String value)
public JourneyExecutionActivityMetricsResponse clearMetricsEntries()
public String toString()
toString
in class Object
Object.toString()
public JourneyExecutionActivityMetricsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.