Google is committed to advancing racial equity for Black communities. See how.

ExposureSummary.ExposureSummaryBuilder

public static final class ExposureSummary.ExposureSummaryBuilder extends Object

A builder for ExposureSummary.

Public Constructor Summary

Public Method Summary

ExposureSummary
build()
Builds an instance of ExposureSummary.
ExposureSummary.ExposureSummaryBuilder
setAttenuationDurations(int[] attenuationDurations)
Sets the attenuation durations.
ExposureSummary.ExposureSummaryBuilder
setDaysSinceLastExposure(int daysSinceLastExposure)
Sets the days since last exposure.
ExposureSummary.ExposureSummaryBuilder
setMatchedKeyCount(int matchedKeyCount)
Sets the matched key count.
ExposureSummary.ExposureSummaryBuilder
setMaximumRiskScore(int maximumRiskScore)
Sets the maximum risk score.
ExposureSummary.ExposureSummaryBuilder
setSummationRiskScore(int summationRiskScore)
Sets the summation risk score.

Inherited Method Summary

Public Constructors

public ExposureSummaryBuilder ()

Public Methods

public ExposureSummary build ()

Builds an instance of ExposureSummary.

public ExposureSummary.ExposureSummaryBuilder setAttenuationDurations (int[] attenuationDurations)

Sets the attenuation durations. See ExposureSummary.getAttenuationDurationsInMinutes().

public ExposureSummary.ExposureSummaryBuilder setDaysSinceLastExposure (int daysSinceLastExposure)

Sets the days since last exposure. See ExposureSummary.getDaysSinceLastExposure().

public ExposureSummary.ExposureSummaryBuilder setMatchedKeyCount (int matchedKeyCount)

Sets the matched key count. See ExposureSummary.getMatchedKeyCount().

public ExposureSummary.ExposureSummaryBuilder setMaximumRiskScore (int maximumRiskScore)

Sets the maximum risk score. See ExposureSummary.getMaximumRiskScore().

public ExposureSummary.ExposureSummaryBuilder setSummationRiskScore (int summationRiskScore)

Sets the summation risk score. See ExposureSummary.getSummationRiskScore().