@Generated(value="software.amazon.awssdk:codegen") public final class StreamSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamSummary.Builder,StreamSummary>
Summary information about a stream.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StreamSummary.Builder |
builder() |
String |
channelArn()
Channel ARN for the stream.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
StreamHealth |
health()
The stream’s health.
|
String |
healthAsString()
The stream’s health.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamSummary.Builder> |
serializableBuilderClass() |
Instant |
startTime()
ISO-8601 formatted timestamp of the stream’s start.
|
StreamState |
state()
The stream’s state.
|
String |
stateAsString()
The stream’s state.
|
StreamSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
viewerCount()
Number of current viewers of the stream.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String channelArn()
Channel ARN for the stream.
public final StreamState state()
The stream’s state.
If the service returns an enum value that is not available in the current SDK version, state will return
StreamState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
StreamStatepublic final String stateAsString()
The stream’s state.
If the service returns an enum value that is not available in the current SDK version, state will return
StreamState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
StreamStatepublic final StreamHealth health()
The stream’s health.
If the service returns an enum value that is not available in the current SDK version, health will
return StreamHealth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
healthAsString().
StreamHealthpublic final String healthAsString()
The stream’s health.
If the service returns an enum value that is not available in the current SDK version, health will
return StreamHealth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
healthAsString().
StreamHealthpublic final Long viewerCount()
Number of current viewers of the stream. A value of -1 indicates that the request timed out; in this case, retry.
public final Instant startTime()
ISO-8601 formatted timestamp of the stream’s start.
public StreamSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StreamSummary.Builder,StreamSummary>public static StreamSummary.Builder builder()
public static Class<? extends StreamSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.