Interface CampaignDateRangeKpiResponse.Builder

    • Method Detail

      • applicationId

        CampaignDateRangeKpiResponse.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.
      • campaignId

        CampaignDateRangeKpiResponse.Builder campaignId​(String campaignId)

        The unique identifier for the campaign that the metric applies to.

        Parameters:
        campaignId - The unique identifier for the campaign that the metric applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        CampaignDateRangeKpiResponse.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.
      • kpiName

        CampaignDateRangeKpiResponse.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

        CampaignDateRangeKpiResponse.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.
      • nextToken

        CampaignDateRangeKpiResponse.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 Campaign 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 Campaign 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

        CampaignDateRangeKpiResponse.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.