@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about a stream.
Constructor and Description |
---|
StreamInfo() |
Modifier and Type | Method and Description |
---|---|
StreamInfo |
clone() |
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 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 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.
|
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 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 void setStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public String getStreamId()
The stream ID.
public StreamInfo withStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public void setStreamArn(String streamArn)
The stream ARN.
streamArn
- The stream ARN.public String getStreamArn()
The stream ARN.
public StreamInfo withStreamArn(String streamArn)
The stream ARN.
streamArn
- The stream ARN.public void setStreamVersion(Integer streamVersion)
The stream version.
streamVersion
- The stream version.public Integer getStreamVersion()
The stream version.
public StreamInfo withStreamVersion(Integer streamVersion)
The stream version.
streamVersion
- The stream version.public void setDescription(String description)
The description of the stream.
description
- The description of the stream.public String getDescription()
The description of the stream.
public StreamInfo withDescription(String description)
The description of the stream.
description
- The description of the stream.public List<StreamFile> getFiles()
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.
NOTE: This method appends the values to the existing list (if any). Use
setFiles(java.util.Collection)
or withFiles(java.util.Collection)
if you want to override the
existing values.
files
- The files to stream.public StreamInfo withFiles(Collection<StreamFile> files)
The files to stream.
files
- The files to stream.public void setCreatedAt(Date createdAt)
The date when the stream was created.
createdAt
- The date when the stream was created.public Date getCreatedAt()
The date when the stream was created.
public StreamInfo withCreatedAt(Date createdAt)
The date when the stream was created.
createdAt
- The date when the stream was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The date when the stream was last updated.
lastUpdatedAt
- The date when the stream was last updated.public Date getLastUpdatedAt()
The date when the stream was last updated.
public StreamInfo withLastUpdatedAt(Date lastUpdatedAt)
The date when the stream was last updated.
lastUpdatedAt
- The date when the stream was last updated.public void setRoleArn(String roleArn)
An IAM role IoT assumes to access your S3 files.
roleArn
- An IAM role IoT assumes to access your S3 files.public String getRoleArn()
An IAM role IoT assumes to access your S3 files.
public StreamInfo withRoleArn(String roleArn)
An IAM role IoT assumes to access your S3 files.
roleArn
- An IAM role IoT assumes to access your S3 files.public String toString()
toString
in class Object
Object.toString()
public StreamInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.