@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) |
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.
|
String |
getFileName()
The name of the file.
|
Stream |
getFileSource()
The source of the file.
|
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 |
setFileName(String fileName)
The name of the file.
|
void |
setFileSource(Stream fileSource)
The source of the file.
|
void |
setFileVersion(String fileVersion)
The file version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OTAUpdateFile |
withAttributes(Map<String,String> attributes)
A list of name/attribute pairs.
|
OTAUpdateFile |
withCodeSigning(CodeSigning codeSigning)
The code signing method of the file.
|
OTAUpdateFile |
withFileName(String fileName)
The name of the file.
|
OTAUpdateFile |
withFileSource(Stream fileSource)
The source of the file.
|
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 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 setFileSource(Stream fileSource)
The source of the file.
fileSource
- The source of the file.public Stream getFileSource()
The source of the file.
public OTAUpdateFile withFileSource(Stream fileSource)
The source of the file.
fileSource
- The source of the file.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.
public void setAttributes(Map<String,String> attributes)
A list of name/attribute pairs.
attributes
- A list of name/attribute pairs.public OTAUpdateFile withAttributes(Map<String,String> attributes)
A list of name/attribute pairs.
attributes
- A list of name/attribute pairs.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.