public class Stream extends Object implements Serializable
Describes a group of files that can be streamed.
| Constructor and Description |
|---|
Stream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getFileId()
The ID of a file associated with a stream.
|
String |
getStreamId()
The stream ID.
|
int |
hashCode() |
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; useful for testing and
debugging.
|
Stream |
withFileId(Integer fileId)
The ID of a file associated with a stream.
|
Stream |
withStreamId(String streamId)
The stream ID.
|
public String getStreamId()
The stream ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The stream ID.
public void setStreamId(String streamId)
The stream ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
streamId - The stream ID.
public Stream withStreamId(String streamId)
The stream ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
streamId - The stream ID.
public Integer getFileId()
The ID of a file associated with a stream.
Constraints:
Range: 0 - 255
The ID of a file associated with a stream.
public void setFileId(Integer fileId)
The ID of a file associated with a stream.
Constraints:
Range: 0 - 255
fileId - The ID of a file associated with a stream.
public Stream withFileId(Integer fileId)
The ID of a file associated with a stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 255
fileId - The ID of a file associated with a stream.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.