@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)
Marshalls this structured data using the given
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.StreamState
public String getState()
The stream’s state.
StreamState
public StreamSummary withState(String state)
The stream’s state.
state
- The stream’s state.StreamState
public StreamSummary withState(StreamState state)
The stream’s state.
state
- The stream’s state.StreamState
public void setHealth(String health)
The stream’s health.
health
- The stream’s health.StreamHealth
public String getHealth()
The stream’s health.
StreamHealth
public StreamSummary withHealth(String health)
The stream’s health.
health
- The stream’s health.StreamHealth
public StreamSummary withHealth(StreamHealth health)
The stream’s health.
health
- The stream’s health.StreamHealth
public 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 Object
Object.toString()
public StreamSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.