Interface JourneyDateRangeKpiResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JourneyDateRangeKpiResponse.Builder,JourneyDateRangeKpiResponse>,SdkBuilder<JourneyDateRangeKpiResponse.Builder,JourneyDateRangeKpiResponse>,SdkPojo
- Enclosing class:
- JourneyDateRangeKpiResponse
public static interface JourneyDateRangeKpiResponse.Builder extends SdkPojo, CopyableBuilder<JourneyDateRangeKpiResponse.Builder,JourneyDateRangeKpiResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JourneyDateRangeKpiResponse.BuilderapplicationId(String applicationId)The unique identifier for the application that the metric applies to.JourneyDateRangeKpiResponse.BuilderendTime(Instant endTime)The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format.JourneyDateRangeKpiResponse.BuilderjourneyId(String journeyId)The unique identifier for the journey that the metric applies to.JourneyDateRangeKpiResponse.BuilderkpiName(String kpiName)The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for.default JourneyDateRangeKpiResponse.BuilderkpiResult(Consumer<BaseKpiResult.Builder> kpiResult)An array of objects that contains the results of the query.JourneyDateRangeKpiResponse.BuilderkpiResult(BaseKpiResult kpiResult)An array of objects that contains the results of the query.JourneyDateRangeKpiResponse.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.JourneyDateRangeKpiResponse.BuilderstartTime(Instant startTime)The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
JourneyDateRangeKpiResponse.Builder applicationId(String applicationId)
The unique identifier for the application that the metric applies to.
- Parameters:
applicationId- The unique identifier for the application that the metric applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
JourneyDateRangeKpiResponse.Builder endTime(Instant endTime)
The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
- Parameters:
endTime- The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
journeyId
JourneyDateRangeKpiResponse.Builder journeyId(String journeyId)
The unique identifier for the journey that the metric applies to.
- Parameters:
journeyId- The unique identifier for the journey that the metric applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kpiName
JourneyDateRangeKpiResponse.Builder kpiName(String kpiName)
The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.
- Parameters:
kpiName- The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kpiResult
JourneyDateRangeKpiResponse.Builder kpiResult(BaseKpiResult kpiResult)
An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.
- Parameters:
kpiResult- An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kpiResult
default JourneyDateRangeKpiResponse.Builder kpiResult(Consumer<BaseKpiResult.Builder> kpiResult)
An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.
This is a convenience method that creates an instance of theBaseKpiResult.Builderavoiding the need to create one manually viaBaseKpiResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokpiResult(BaseKpiResult).- Parameters:
kpiResult- a consumer that will call methods onBaseKpiResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kpiResult(BaseKpiResult)
-
nextToken
JourneyDateRangeKpiResponse.Builder nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Journey Engagement Metrics resource because the resource returns all results in a single page.
- Parameters:
nextToken- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Journey Engagement Metrics resource because the resource returns all results in a single page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
JourneyDateRangeKpiResponse.Builder startTime(Instant startTime)
The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.
- Parameters:
startTime- The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-