@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Stream extends Object implements Serializable, Cloneable, StructuredPojo
Describes a group of files that can be streamed.
| Constructor and Description |
|---|
Stream() |
| Modifier and Type | Method and Description |
|---|---|
Stream |
clone() |
boolean |
equals(Object obj) |
Integer |
getFileId()
The ID of a file associated with a stream.
|
String |
getStreamId()
The stream ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFileId(Integer fileId)
The ID of a file associated with a stream.
|
void |
setStreamId(String streamId)
The stream ID.
|
String |
toString()
Returns a string representation of this object.
|
Stream |
withFileId(Integer fileId)
The ID of a file associated with a stream.
|
Stream |
withStreamId(String streamId)
The stream ID.
|
public void setStreamId(String streamId)
The stream ID.
streamId - The stream ID.public String getStreamId()
The stream ID.
public Stream withStreamId(String streamId)
The stream ID.
streamId - The stream ID.public void setFileId(Integer fileId)
The ID of a file associated with a stream.
fileId - The ID of a file associated with a stream.public Integer getFileId()
The ID of a file associated with a stream.
public Stream withFileId(Integer fileId)
The ID of a file associated with a stream.
fileId - The ID of a file associated with a stream.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.