@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamFile extends Object implements Serializable, Cloneable, StructuredPojo
Represents a file to stream.
Constructor and Description |
---|
StreamFile() |
Modifier and Type | Method and Description |
---|---|
StreamFile |
clone() |
boolean |
equals(Object obj) |
Integer |
getFileId()
The file ID.
|
S3Location |
getS3Location()
The location of the file in S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
StreamFile |
withFileId(Integer fileId)
The file ID.
|
StreamFile |
withS3Location(S3Location s3Location)
The location of the file in S3.
|
public void setFileId(Integer fileId)
The file ID.
fileId
- The file ID.public Integer getFileId()
The file ID.
public StreamFile withFileId(Integer fileId)
The file ID.
fileId
- The file ID.public void setS3Location(S3Location s3Location)
The location of the file in S3.
s3Location
- The location of the file in S3.public S3Location getS3Location()
The location of the file in S3.
public StreamFile withS3Location(S3Location s3Location)
The location of the file in S3.
s3Location
- The location of the file in S3.public String toString()
toString
in class Object
Object.toString()
public StreamFile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.