Interface DailyVolume.Builder

    • Method Detail

      • startDate

        DailyVolume.Builder startDate​(Instant startDate)

        The date that the DailyVolume metrics apply to, in Unix time.

        Parameters:
        startDate - The date that the DailyVolume metrics apply to, in Unix time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeStatistics

        DailyVolume.Builder volumeStatistics​(VolumeStatistics volumeStatistics)

        An object that contains inbox placement metrics for a specific day in the analysis period.

        Parameters:
        volumeStatistics - An object that contains inbox placement metrics for a specific day in the analysis period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainIspPlacements

        DailyVolume.Builder domainIspPlacements​(Collection<DomainIspPlacement> domainIspPlacements)

        An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.

        Parameters:
        domainIspPlacements - An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainIspPlacements

        DailyVolume.Builder domainIspPlacements​(DomainIspPlacement... domainIspPlacements)

        An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.

        Parameters:
        domainIspPlacements - An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainIspPlacements

        DailyVolume.Builder domainIspPlacements​(Consumer<DomainIspPlacement.Builder>... domainIspPlacements)

        An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.

        This is a convenience method that creates an instance of the DomainIspPlacement.Builder avoiding the need to create one manually via DomainIspPlacement.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #domainIspPlacements(List).

        Parameters:
        domainIspPlacements - a consumer that will call methods on DomainIspPlacement.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #domainIspPlacements(java.util.Collection)