@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileLocation extends Object implements Serializable, Cloneable, StructuredPojo
The location of the OTA update.
Constructor and Description |
---|
FileLocation() |
Modifier and Type | Method and Description |
---|---|
FileLocation |
clone() |
boolean |
equals(Object obj) |
S3Location |
getS3Location()
The location of the updated firmware in S3.
|
Stream |
getStream()
The stream that contains the OTA update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Location(S3Location s3Location)
The location of the updated firmware in S3.
|
void |
setStream(Stream stream)
The stream that contains the OTA update.
|
String |
toString()
Returns a string representation of this object.
|
FileLocation |
withS3Location(S3Location s3Location)
The location of the updated firmware in S3.
|
FileLocation |
withStream(Stream stream)
The stream that contains the OTA update.
|
public void setStream(Stream stream)
The stream that contains the OTA update.
stream
- The stream that contains the OTA update.public Stream getStream()
The stream that contains the OTA update.
public FileLocation withStream(Stream stream)
The stream that contains the OTA update.
stream
- The stream that contains the OTA update.public void setS3Location(S3Location s3Location)
The location of the updated firmware in S3.
s3Location
- The location of the updated firmware in S3.public S3Location getS3Location()
The location of the updated firmware in S3.
public FileLocation withS3Location(S3Location s3Location)
The location of the updated firmware in S3.
s3Location
- The location of the updated firmware in S3.public String toString()
toString
in class Object
Object.toString()
public FileLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.