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

ExposureConfiguration.ExposureConfigurationBuilder

public static final class ExposureConfiguration.ExposureConfigurationBuilder extends Object

A builder for ExposureConfiguration.

Public Constructor Summary

Public Method Summary

ExposureConfiguration
build()
Builds an instance of ExposureConfiguration.
ExposureConfiguration.ExposureConfigurationBuilder
setAttenuationScores(int... attenuationScores)
Sets the attenuation scores.
ExposureConfiguration.ExposureConfigurationBuilder
setAttenuationWeight(int attenuationWeight)
Sets the attenuation weight.
ExposureConfiguration.ExposureConfigurationBuilder
setDaysSinceLastExposureScores(int... daysSinceLastExposureScores)
Sets the days since last exposure scores.
ExposureConfiguration.ExposureConfigurationBuilder
setDaysSinceLastExposureWeight(int daysSinceLastExposureWeight)
Sets the days since last exposure weight.
ExposureConfiguration.ExposureConfigurationBuilder
setDurationAtAttenuationThresholds(int... durationAtAttenuationThresholds)
Sets the duration at attenuation thresholds.
ExposureConfiguration.ExposureConfigurationBuilder
setDurationScores(int... durationScores)
Sets the duration scores.
ExposureConfiguration.ExposureConfigurationBuilder
setDurationWeight(int durationWeight)
Sets the duration weight.
ExposureConfiguration.ExposureConfigurationBuilder
setMinimumRiskScore(int minimumRiskScore)
Sets the minimum risk score.
ExposureConfiguration.ExposureConfigurationBuilder
setTransmissionRiskScores(int... transmissionRiskScores)
Sets the transmission risk scores.
ExposureConfiguration.ExposureConfigurationBuilder
setTransmissionRiskWeight(int transmissionRiskWeight)
Sets the transmission risk weight.

Inherited Method Summary

Public Constructors

public ExposureConfigurationBuilder ()

Public Methods

public ExposureConfiguration build ()

Builds an instance of ExposureConfiguration.

public ExposureConfiguration.ExposureConfigurationBuilder setAttenuationScores (int... attenuationScores)

Sets the attenuation scores. See ExposureConfiguration.getAttenuationScores().

public ExposureConfiguration.ExposureConfigurationBuilder setAttenuationWeight (int attenuationWeight)

Sets the attenuation weight. See ExposureConfiguration.getAttenuationWeight().

public ExposureConfiguration.ExposureConfigurationBuilder setDaysSinceLastExposureScores (int... daysSinceLastExposureScores)

Sets the days since last exposure scores. See ExposureConfiguration.getDaysSinceLastExposureScores().

public ExposureConfiguration.ExposureConfigurationBuilder setDaysSinceLastExposureWeight (int daysSinceLastExposureWeight)

Sets the days since last exposure weight. See ExposureConfiguration.getDaysSinceLastExposureWeight().

public ExposureConfiguration.ExposureConfigurationBuilder setDurationAtAttenuationThresholds (int... durationAtAttenuationThresholds)

Sets the duration at attenuation thresholds. See ExposureConfiguration.getDurationAtAttenuationThresholds().

public ExposureConfiguration.ExposureConfigurationBuilder setDurationScores (int... durationScores)

Sets the duration scores. See ExposureConfiguration.getDurationScores().

public ExposureConfiguration.ExposureConfigurationBuilder setDurationWeight (int durationWeight)

Sets the duration weight. See ExposureConfiguration.getDurationWeight().

public ExposureConfiguration.ExposureConfigurationBuilder setMinimumRiskScore (int minimumRiskScore)

Sets the minimum risk score. See ExposureConfiguration.getMinimumRiskScore().

public ExposureConfiguration.ExposureConfigurationBuilder setTransmissionRiskScores (int... transmissionRiskScores)

Sets the transmission risk scores. See ExposureConfiguration.getTransmissionRiskScores().

public ExposureConfiguration.ExposureConfigurationBuilder setTransmissionRiskWeight (int transmissionRiskWeight)

Sets the transmission risk weight. See ExposureConfiguration.getTransmissionRiskWeight().