Class StreamSessionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.ivs.model.StreamSessionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamSessionSummary.Builder,StreamSessionSummary>
@Generated("software.amazon.awssdk:codegen") public final class StreamSessionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamSessionSummary.Builder,StreamSessionSummary>
Summary information about a stream session.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStreamSessionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamSessionSummary.Builderbuilder()InstantendTime()Time when the channel went offline.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)BooleanhasErrorEvent()Iftrue, this stream encountered a quota breach or failure.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StreamSessionSummary.Builder>serializableBuilderClass()InstantstartTime()Time when the channel went live.StringstreamId()Unique identifier for a live or previously live stream in the specified channel.StreamSessionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endTime
public final Instant endTime()
Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is
NULL.- Returns:
- Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a
string. For live streams, this is
NULL.
-
hasErrorEvent
public final Boolean hasErrorEvent()
If
true, this stream encountered a quota breach or failure.- Returns:
- If
true, this stream encountered a quota breach or failure.
-
startTime
public final Instant startTime()
Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
- Returns:
- Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
-
streamId
public final String streamId()
Unique identifier for a live or previously live stream in the specified channel.
- Returns:
- Unique identifier for a live or previously live stream in the specified channel.
-
toBuilder
public StreamSessionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamSessionSummary.Builder,StreamSessionSummary>
-
builder
public static StreamSessionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends StreamSessionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-