ExposureWindow.Builder

public static class ExposureWindow.Builder extends Object

Builder for ExposureWindow.

Public Constructor Summary

Builder()
Creates a new builder for an ExposureWindow.

Public Method Summary

ExposureWindow
build()
Builds an instance of ExposureWindow.
ExposureWindow.Builder
setCalibrationConfidence(int calibrationConfidence)
Sets the calibration confidence.
ExposureWindow.Builder
setDateMillisSinceEpoch(long dateMillisSinceEpoch)
Sets the date in milliseconds since epoch.
ExposureWindow.Builder
setInfectiousness(int infectiousness)
Sets the infectiousness.
ExposureWindow.Builder
setReportType(int reportType)
Sets the report type.
ExposureWindow.Builder
setScanInstances(List<ScanInstance> scanInstances)
Sets the scan instances.
ExposureWindow.Builder
setVariantOfConcern(int variantOfConcern)
Sets the variant of concern.

Inherited Method Summary

Public Constructors

public Builder ()

Creates a new builder for an ExposureWindow.

Public Methods

public ExposureWindow build ()

Builds an instance of ExposureWindow.

public ExposureWindow.Builder setCalibrationConfidence (int calibrationConfidence)

Sets the calibration confidence. See ExposureWindow.getCalibrationConfidence().

public ExposureWindow.Builder setDateMillisSinceEpoch (long dateMillisSinceEpoch)

Sets the date in milliseconds since epoch. See ExposureWindow.getDateMillisSinceEpoch().

public ExposureWindow.Builder setInfectiousness (int infectiousness)

Sets the infectiousness. See ExposureWindow.getInfectiousness().

public ExposureWindow.Builder setReportType (int reportType)

Sets the report type. See ExposureWindow.getReportType().

public ExposureWindow.Builder setScanInstances (List<ScanInstance> scanInstances)

Sets the scan instances. See ExposureWindow.getScanInstances().

public ExposureWindow.Builder setVariantOfConcern (int variantOfConcern)

Sets the variant of concern. See ExposureWindow.getVariantOfConcern().