@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a stream.
| Constructor and Description |
|---|
StreamSummary() |
| Modifier and Type | Method and Description |
|---|---|
StreamSummary |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
Channel ARN for the stream.
|
String |
getHealth()
The stream’s health.
|
Date |
getStartTime()
ISO-8601 formatted timestamp of the stream’s start.
|
String |
getState()
The stream’s state.
|
Long |
getViewerCount()
Number of current viewers of the stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChannelArn(String channelArn)
Channel ARN for the stream.
|
void |
setHealth(String health)
The stream’s health.
|
void |
setStartTime(Date startTime)
ISO-8601 formatted timestamp of the stream’s start.
|
void |
setState(String state)
The stream’s state.
|
void |
setViewerCount(Long viewerCount)
Number of current viewers of the stream.
|
String |
toString()
Returns a string representation of this object.
|
StreamSummary |
withChannelArn(String channelArn)
Channel ARN for the stream.
|
StreamSummary |
withHealth(StreamHealth health)
The stream’s health.
|
StreamSummary |
withHealth(String health)
The stream’s health.
|
StreamSummary |
withStartTime(Date startTime)
ISO-8601 formatted timestamp of the stream’s start.
|
StreamSummary |
withState(StreamState state)
The stream’s state.
|
StreamSummary |
withState(String state)
The stream’s state.
|
StreamSummary |
withViewerCount(Long viewerCount)
Number of current viewers of the stream.
|
public void setChannelArn(String channelArn)
Channel ARN for the stream.
channelArn - Channel ARN for the stream.public String getChannelArn()
Channel ARN for the stream.
public StreamSummary withChannelArn(String channelArn)
Channel ARN for the stream.
channelArn - Channel ARN for the stream.public void setState(String state)
The stream’s state.
state - The stream’s state.StreamStatepublic String getState()
The stream’s state.
StreamStatepublic StreamSummary withState(String state)
The stream’s state.
state - The stream’s state.StreamStatepublic StreamSummary withState(StreamState state)
The stream’s state.
state - The stream’s state.StreamStatepublic void setHealth(String health)
The stream’s health.
health - The stream’s health.StreamHealthpublic String getHealth()
The stream’s health.
StreamHealthpublic StreamSummary withHealth(String health)
The stream’s health.
health - The stream’s health.StreamHealthpublic StreamSummary withHealth(StreamHealth health)
The stream’s health.
health - The stream’s health.StreamHealthpublic void setViewerCount(Long viewerCount)
Number of current viewers of the stream.
viewerCount - Number of current viewers of the stream.public Long getViewerCount()
Number of current viewers of the stream.
public StreamSummary withViewerCount(Long viewerCount)
Number of current viewers of the stream.
viewerCount - Number of current viewers of the stream.public void setStartTime(Date startTime)
ISO-8601 formatted timestamp of the stream’s start.
startTime - ISO-8601 formatted timestamp of the stream’s start.public Date getStartTime()
ISO-8601 formatted timestamp of the stream’s start.
public StreamSummary withStartTime(Date startTime)
ISO-8601 formatted timestamp of the stream’s start.
startTime - ISO-8601 formatted timestamp of the stream’s start.public String toString()
toString in class ObjectObject.toString()public StreamSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.