@Generated(value="software.amazon.awssdk:codegen") public final class StreamInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamInfo.Builder,StreamInfo>
An object describing a Kinesis video stream.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StreamInfo.Builder |
builder() |
Instant |
creationTime()
A time stamp that indicates when the stream was created.
|
Integer |
dataRetentionInHours()
How long the stream retains data, in hours.
|
String |
deviceName()
The name of the device that is associated with the stream.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
|
String |
mediaType()
The
MediaType of the stream. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamInfo.Builder> |
serializableBuilderClass() |
Status |
status()
The status of the stream.
|
String |
statusAsString()
The status of the stream.
|
String |
streamARN()
The Amazon Resource Name (ARN) of the stream.
|
String |
streamName()
The name of the stream.
|
StreamInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the stream.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deviceName()
The name of the device that is associated with the stream.
public final String streamName()
The name of the stream.
public final String streamARN()
The Amazon Resource Name (ARN) of the stream.
public final String mediaType()
The MediaType of the stream.
MediaType of the stream.public final String kmsKeyId()
The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
public final String version()
The version of the stream.
public final Status status()
The status of the stream.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final String statusAsString()
The status of the stream.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final Instant creationTime()
A time stamp that indicates when the stream was created.
public final Integer dataRetentionInHours()
How long the stream retains data, in hours.
public StreamInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StreamInfo.Builder,StreamInfo>public static StreamInfo.Builder builder()
public static Class<? extends StreamInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.