Package com.highmobility.autoapi
Class Hood.State.Builder
java.lang.Object
com.highmobility.autoapi.SetCommand.Builder<Hood.State.Builder>
com.highmobility.autoapi.Hood.State.Builder
- Enclosing class:
- Hood.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setLockSafety(Property<LockSafety> lockSafety) setPosition(Property<Hood.Position> position) Methods inherited from class com.highmobility.autoapi.SetCommand.Builder
addProperty, getProperties, setBrand, setNonce, setSignature, setTimestamp, setVin
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Overrides:
buildin classSetCommand.Builder<Hood.State.Builder>
-
setPosition
- Parameters:
position- The position- Returns:
- The builder
-
setLock
- Parameters:
lock- Includes the lock state of the hood.- Returns:
- The builder
-
setLockSafety
- Parameters:
lockSafety- Indicates the safe-state of the hood.- Returns:
- The builder
-