public class StreamFile
extends java.lang.Object
implements java.io.Serializable
Represents a file to stream.
Constructor and Description |
---|
StreamFile() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getFileId()
The file ID.
|
S3Location |
getS3Location()
The location of the file in S3.
|
int |
hashCode() |
void |
setFileId(java.lang.Integer fileId)
The file ID.
|
void |
setS3Location(S3Location s3Location)
The location of the file in S3.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamFile |
withFileId(java.lang.Integer fileId)
The file ID.
|
StreamFile |
withS3Location(S3Location s3Location)
The location of the file in S3.
|
public java.lang.Integer getFileId()
The file ID.
Constraints:
Range: 0 - 255
The file ID.
public void setFileId(java.lang.Integer fileId)
The file ID.
Constraints:
Range: 0 - 255
fileId
- The file ID.
public StreamFile withFileId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.