A builder for
ExposureConfiguration
.
Public Constructor Summary
Public Method Summary
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()
.