-
public interface BootDescriptor.BuilderDevice boot descriptor builder.
-
-
Method Summary
Modifier and Type Method Description abstract BootDescriptor.BuildertimestampSeconds(long ts)Set UNIX epoch timestamp, in seconds, of when device was last booted. abstract BootDescriptor.Builderid(String id)Set unique boot identifier. abstract BootDescriptor.Buildercount(int n)Set boot count of device. abstract BootDescriptorbuild()Build resulting descriptor. -
-
Method Detail
-
timestampSeconds
@ReturnThis() abstract BootDescriptor.Builder timestampSeconds(long ts)
Set UNIX epoch timestamp, in seconds, of when device was last booted.
- Parameters:
ts- timestamp or{@code 0}if unavailable
-
id
@ReturnThis() abstract BootDescriptor.Builder id(String id)
Set unique boot identifier.
- Parameters:
id- identifier or empty if unavailable
-
count
@ReturnThis() abstract BootDescriptor.Builder count(int n)
Set boot count of device.
- Parameters:
n- boot count or{@code -1}if unavailable
-
build
abstract BootDescriptor build()
Build resulting descriptor.
-
-
-
-