public class StreamFile extends Object implements Serializable
Represents a file to stream.
| Constructor and Description |
|---|
StreamFile() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getFileId()
The file ID.
|
S3Location |
getS3Location()
The location of the file in S3.
|
int |
hashCode() |
void |
setFileId(Integer fileId)
The file ID.
|
void |
setS3Location(S3Location s3Location)
The location of the file in S3.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamFile |
withFileId(Integer fileId)
The file ID.
|
StreamFile |
withS3Location(S3Location s3Location)
The location of the file in S3.
|
public Integer getFileId()
The file ID.
Constraints:
Range: 0 - 255
The file ID.
public void setFileId(Integer fileId)
The file ID.
Constraints:
Range: 0 - 255
fileId - The file ID.
public StreamFile withFileId(Integer fileId)
The file ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 255
fileId - The file ID.
public S3Location getS3Location()
The location of the file in S3.
The location of the file in S3.
public void setS3Location(S3Location s3Location)
The location of the file in S3.
s3Location - The location of the file in S3.
public StreamFile withS3Location(S3Location s3Location)
The location of the file in S3.
Returns a reference to this object so that method calls can be chained together.
s3Location - The location of the file in S3.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.