@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyExecutionMetricsResponse 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, and provides information about that query.
Constructor and Description |
---|
JourneyExecutionMetricsResponse() |
Modifier and Type | Method and Description |
---|---|
JourneyExecutionMetricsResponse |
addMetricsEntry(String key,
String value)
Add a single Metrics entry
|
JourneyExecutionMetricsResponse |
clearMetricsEntries()
Removes all the entries added into Metrics.
|
JourneyExecutionMetricsResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application 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 journey 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 |
setApplicationId(String applicationId)
The unique identifier for the application 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 journey 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.
|
JourneyExecutionMetricsResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the metric applies to.
|
JourneyExecutionMetricsResponse |
withJourneyId(String journeyId)
The unique identifier for the journey that the metric applies to.
|
JourneyExecutionMetricsResponse |
withLastEvaluatedTime(String lastEvaluatedTime)
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for
the metric.
|
JourneyExecutionMetricsResponse |
withMetrics(Map<String,String> metrics)
A JSON object that contains the results of the query.
|
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 JourneyExecutionMetricsResponse 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 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 JourneyExecutionMetricsResponse 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 journey and updated the data for the metric.
lastEvaluatedTime
- The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the
data for the metric.public String getLastEvaluatedTime()
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.
public JourneyExecutionMetricsResponse withLastEvaluatedTime(String lastEvaluatedTime)
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.
lastEvaluatedTime
- The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the
data for the metric.public Map<String,String> getMetrics()
A JSON object that contains the results of the query. 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. 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. For information about the structure and contents of
the results, see the Amazon
Pinpoint Developer Guide.public JourneyExecutionMetricsResponse withMetrics(Map<String,String> metrics)
A JSON object that contains the results of the query. 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. For information about the structure and contents of
the results, see the Amazon
Pinpoint Developer Guide.public JourneyExecutionMetricsResponse addMetricsEntry(String key, String value)
public JourneyExecutionMetricsResponse clearMetricsEntries()
public String toString()
toString
in class Object
Object.toString()
public JourneyExecutionMetricsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.