public class StreamInfo extends Object implements Serializable
Information about a stream.
| Constructor and Description |
|---|
StreamInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date when the stream was created.
|
String |
getDescription()
The description of the stream.
|
List<StreamFile> |
getFiles()
The files to stream.
|
Date |
getLastUpdatedAt()
The date when the stream was last updated.
|
String |
getRoleArn()
An IAM role AWS IoT assumes to access your S3 files.
|
String |
getStreamArn()
The stream ARN.
|
String |
getStreamId()
The stream ID.
|
Integer |
getStreamVersion()
The stream version.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The date when the stream was created.
|
void |
setDescription(String description)
The description of the stream.
|
void |
setFiles(Collection<StreamFile> files)
The files to stream.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date when the stream was last updated.
|
void |
setRoleArn(String roleArn)
An IAM role AWS IoT assumes to access your S3 files.
|
void |
setStreamArn(String streamArn)
The stream ARN.
|
void |
setStreamId(String streamId)
The stream ID.
|
void |
setStreamVersion(Integer streamVersion)
The stream version.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamInfo |
withCreatedAt(Date createdAt)
The date when the stream was created.
|
StreamInfo |
withDescription(String description)
The description of the stream.
|
StreamInfo |
withFiles(Collection<StreamFile> files)
The files to stream.
|
StreamInfo |
withFiles(StreamFile... files)
The files to stream.
|
StreamInfo |
withLastUpdatedAt(Date lastUpdatedAt)
The date when the stream was last updated.
|
StreamInfo |
withRoleArn(String roleArn)
An IAM role AWS IoT assumes to access your S3 files.
|
StreamInfo |
withStreamArn(String streamArn)
The stream ARN.
|
StreamInfo |
withStreamId(String streamId)
The stream ID.
|
StreamInfo |
withStreamVersion(Integer streamVersion)
The stream version.
|
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 StreamInfo 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 String getStreamArn()
The stream ARN.
The stream ARN.
public void setStreamArn(String streamArn)
The stream ARN.
streamArn - The stream ARN.
public StreamInfo withStreamArn(String streamArn)
The stream ARN.
Returns a reference to this object so that method calls can be chained together.
streamArn - The stream ARN.
public Integer getStreamVersion()
The stream version.
Constraints:
Range: 0 - 65535
The stream version.
public void setStreamVersion(Integer streamVersion)
The stream version.
Constraints:
Range: 0 - 65535
streamVersion - The stream version.
public StreamInfo withStreamVersion(Integer streamVersion)
The stream version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 65535
streamVersion - The stream version.
public String getDescription()
The description of the stream.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
The description of the stream.
public void setDescription(String description)
The description of the stream.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
description - The description of the stream.
public StreamInfo withDescription(String description)
The description of the stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
description - The description of the stream.
public List<StreamFile> getFiles()
The files to stream.
The files to stream.
public void setFiles(Collection<StreamFile> files)
The files to stream.
files - The files to stream.
public StreamInfo withFiles(StreamFile... files)
The files to stream.
Returns a reference to this object so that method calls can be chained together.
files - The files to stream.
public StreamInfo withFiles(Collection<StreamFile> files)
The files to stream.
Returns a reference to this object so that method calls can be chained together.
files - The files to stream.
public Date getCreatedAt()
The date when the stream was created.
The date when the stream was created.
public void setCreatedAt(Date createdAt)
The date when the stream was created.
createdAt - The date when the stream was created.
public StreamInfo withCreatedAt(Date createdAt)
The date when the stream was created.
Returns a reference to this object so that method calls can be chained together.
createdAt - The date when the stream was created.
public Date getLastUpdatedAt()
The date when the stream was last updated.
The date when the stream was last updated.
public void setLastUpdatedAt(Date lastUpdatedAt)
The date when the stream was last updated.
lastUpdatedAt - The date when the stream was last updated.
public StreamInfo withLastUpdatedAt(Date lastUpdatedAt)
The date when the stream was last updated.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt - The date when the stream was last updated.
public String getRoleArn()
An IAM role AWS IoT assumes to access your S3 files.
Constraints:
Length: 20 - 2048
An IAM role AWS IoT assumes to access your S3 files.
public void setRoleArn(String roleArn)
An IAM role AWS IoT assumes to access your S3 files.
Constraints:
Length: 20 - 2048
roleArn - An IAM role AWS IoT assumes to access your S3 files.
public StreamInfo withRoleArn(String roleArn)
An IAM role AWS IoT assumes to access your S3 files.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn - An IAM role AWS IoT assumes to access your S3 files.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.