public class Stream
extends java.lang.Object
implements java.io.Serializable
Describes a group of files that can be streamed.
Constructor and Description |
---|
Stream() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getFileId()
The ID of a file associated with a stream.
|
java.lang.String |
getStreamId()
The stream ID.
|
int |
hashCode() |
void |
setFileId(java.lang.Integer fileId)
The ID of a file associated with a stream.
|
void |
setStreamId(java.lang.String streamId)
The stream ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Stream |
withFileId(java.lang.Integer fileId)
The ID of a file associated with a stream.
|
Stream |
withStreamId(java.lang.String streamId)
The stream ID.
|
public java.lang.String getStreamId()
The stream ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The stream ID.
public void setStreamId(java.lang.String streamId)
The stream ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
streamId
- The stream ID.
public Stream withStreamId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 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.