FanSpeedLevelProfile.Builder


public final class FanSpeedLevelProfile.Builder


A builder for FanSpeedLevelProfile.

Summary

Public constructors

Builder(
    @NonNull Map<Set<CarZone>, Pair<IntegerInteger>> carZoneSetsToFanSpeedLevelRanges
)

Creates an instance of builder.

Public methods

@NonNull FanSpeedLevelProfile

Create a FanSpeedLevelProfile.

Public constructors

Builder

Added in 1.3.0
public Builder(
    @NonNull Map<Set<CarZone>, Pair<IntegerInteger>> carZoneSetsToFanSpeedLevelRanges
)

Creates an instance of builder.

Parameters
@NonNull Map<Set<CarZone>, Pair<IntegerInteger>> carZoneSetsToFanSpeedLevelRanges

map of min/max range values in meters per second for the property corresponding to the set of car zones. The min/max values are not in a specific unit but represent fan speed level settings. They can take values in the range [1,7] but always greater than 0.

Public methods

build

Added in 1.3.0
public @NonNull FanSpeedLevelProfile build()

Create a FanSpeedLevelProfile.