@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OTAUpdateFile extends Object implements Serializable, Cloneable, StructuredPojo
Describes a file to be associated with an OTA update.
Constructor and Description |
---|
OTAUpdateFile() |
Modifier and Type | Method and Description |
---|---|
OTAUpdateFile |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
OTAUpdateFile |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
OTAUpdateFile |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
A list of name-attribute pairs.
|
CodeSigning |
getCodeSigning()
The code signing method of the file.
|
FileLocation |
getFileLocation()
The location of the updated firmware.
|
String |
getFileName()
The name of the file.
|
Integer |
getFileType()
An integer value you can include in the job document to allow your devices to identify the type of file received
from the cloud.
|
String |
getFileVersion()
The file version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
A list of name-attribute pairs.
|
void |
setCodeSigning(CodeSigning codeSigning)
The code signing method of the file.
|
void |
setFileLocation(FileLocation fileLocation)
The location of the updated firmware.
|
void |
setFileName(String fileName)
The name of the file.
|
void |
setFileType(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.
|
void |
setFileVersion(String fileVersion)
The file version.
|
String |
toString()
Returns a string representation of this object.
|
OTAUpdateFile |
withAttributes(Map<String,String> attributes)
A list of name-attribute pairs.
|
OTAUpdateFile |
withCodeSigning(CodeSigning codeSigning)
The code signing method of the file.
|
OTAUpdateFile |
withFileLocation(FileLocation fileLocation)
The location of the updated firmware.
|
OTAUpdateFile |
withFileName(String fileName)
The name of the file.
|
OTAUpdateFile |
withFileType(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 |
withFileVersion(String fileVersion)
The file version.
|
public void setFileName(String fileName)
The name of the file.
fileName
- The name of the file.public String getFileName()
The name of the file.
public OTAUpdateFile withFileName(String fileName)
The name of the file.
fileName
- The name of the file.public void setFileType(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.public Integer getFileType()
An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.
public OTAUpdateFile withFileType(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.public void setFileVersion(String fileVersion)
The file version.
fileVersion
- The file version.public String getFileVersion()
The file version.
public OTAUpdateFile withFileVersion(String fileVersion)
The file version.
fileVersion
- The file version.public void setFileLocation(FileLocation fileLocation)
The location of the updated firmware.
fileLocation
- The location of the updated firmware.public FileLocation getFileLocation()
The location of the updated firmware.
public OTAUpdateFile withFileLocation(FileLocation fileLocation)
The location of the updated firmware.
fileLocation
- The location of the updated firmware.public void setCodeSigning(CodeSigning codeSigning)
The code signing method of the file.
codeSigning
- The code signing method of the file.public CodeSigning getCodeSigning()
The code signing method of the file.
public OTAUpdateFile withCodeSigning(CodeSigning codeSigning)
The code signing method of the file.
codeSigning
- The code signing method of the file.public Map<String,String> getAttributes()
A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.
public void setAttributes(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.public OTAUpdateFile withAttributes(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.public OTAUpdateFile addAttributesEntry(String key, String value)
public OTAUpdateFile clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public OTAUpdateFile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.