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