public class FileLocation
extends java.lang.Object
implements java.io.Serializable
The location of the OTA update.
| Constructor and Description |
|---|
FileLocation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
S3Location |
getS3Location()
The location of the updated firmware in S3.
|
Stream |
getStream()
The stream that contains the OTA update.
|
int |
hashCode() |
void |
setS3Location(S3Location s3Location)
The location of the updated firmware in S3.
|
void |
setStream(Stream stream)
The stream that contains the OTA update.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FileLocation |
withS3Location(S3Location s3Location)
The location of the updated firmware in S3.
|
FileLocation |
withStream(Stream stream)
The stream that contains the OTA update.
|
public Stream getStream()
The stream that contains the OTA update.
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 FileLocation withStream(Stream stream)
The stream that contains the OTA update.
Returns a reference to this object so that method calls can be chained together.
stream - The stream that contains the OTA update.
public S3Location getS3Location()
The location of the updated firmware in S3.
The location of the updated firmware in S3.
public void setS3Location(S3Location s3Location)
The location of the updated firmware in S3.
s3Location - The location of the updated firmware in S3.
public FileLocation withS3Location(S3Location s3Location)
The location of the updated firmware in S3.
Returns a reference to this object so that method calls can be chained together.
s3Location - The location of the updated firmware in S3.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.