@Generated(value="software.amazon.awssdk:codegen") public final class JourneyExecutionMetricsResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JourneyExecutionMetricsResponse.Builder,JourneyExecutionMetricsResponse>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JourneyExecutionMetricsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
applicationId()
The unique identifier for the application that the metric applies to.
|
static JourneyExecutionMetricsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMetrics()
Returns true if the Metrics property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
journeyId()
The unique identifier for the journey that the metric applies to.
|
String |
lastEvaluatedTime()
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> |
metrics()
A JSON object that contains the results of the query.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JourneyExecutionMetricsResponse.Builder> |
serializableBuilderClass() |
JourneyExecutionMetricsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String applicationId()
The unique identifier for the application that the metric applies to.
public String journeyId()
The unique identifier for the journey that the metric applies to.
public String lastEvaluatedTime()
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.
public boolean hasMetrics()
public 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMetrics() to see if a value was sent in this field.
public JourneyExecutionMetricsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JourneyExecutionMetricsResponse.Builder,JourneyExecutionMetricsResponse>public static JourneyExecutionMetricsResponse.Builder builder()
public static Class<? extends JourneyExecutionMetricsResponse.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.