public static interface OTAUpdateFile.Builder extends SdkPojo, CopyableBuilder<OTAUpdateFile.Builder,OTAUpdateFile>
| Modifier and Type | Method and Description |
|---|---|
OTAUpdateFile.Builder |
attributes(Map<String,String> attributes)
A list of name-attribute pairs.
|
OTAUpdateFile.Builder |
codeSigning(CodeSigning codeSigning)
The code signing method of the file.
|
default OTAUpdateFile.Builder |
codeSigning(Consumer<CodeSigning.Builder> codeSigning)
The code signing method of the file.
|
default OTAUpdateFile.Builder |
fileLocation(Consumer<FileLocation.Builder> fileLocation)
The location of the updated firmware.
|
OTAUpdateFile.Builder |
fileLocation(FileLocation fileLocation)
The location of the updated firmware.
|
OTAUpdateFile.Builder |
fileName(String fileName)
The name of the file.
|
OTAUpdateFile.Builder |
fileType(Integer fileType)
An integer value you can include in the job document to allow your devices to identify the type of file
received from the cloud.
|
OTAUpdateFile.Builder |
fileVersion(String fileVersion)
The file version.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOTAUpdateFile.Builder fileName(String fileName)
The name of the file.
fileName - The name of the file.OTAUpdateFile.Builder fileType(Integer fileType)
An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.
fileType - An integer value you can include in the job document to allow your devices to identify the type of
file received from the cloud.OTAUpdateFile.Builder fileVersion(String fileVersion)
The file version.
fileVersion - The file version.OTAUpdateFile.Builder fileLocation(FileLocation fileLocation)
The location of the updated firmware.
fileLocation - The location of the updated firmware.default OTAUpdateFile.Builder fileLocation(Consumer<FileLocation.Builder> fileLocation)
The location of the updated firmware.
This is a convenience method that creates an instance of theFileLocation.Builder avoiding the need
to create one manually via FileLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to fileLocation(FileLocation).
fileLocation - a consumer that will call methods on FileLocation.BuilderfileLocation(FileLocation)OTAUpdateFile.Builder codeSigning(CodeSigning codeSigning)
The code signing method of the file.
codeSigning - The code signing method of the file.default OTAUpdateFile.Builder codeSigning(Consumer<CodeSigning.Builder> codeSigning)
The code signing method of the file.
This is a convenience method that creates an instance of theCodeSigning.Builder avoiding the need to
create one manually via CodeSigning.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to codeSigning(CodeSigning).
codeSigning - a consumer that will call methods on CodeSigning.BuildercodeSigning(CodeSigning)OTAUpdateFile.Builder attributes(Map<String,String> attributes)
A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.
attributes - A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.Copyright © 2023. All rights reserved.