@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the AWS Key Management Service (AWS 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version of the stream.
|
copy
public String deviceName()
The name of the device that is associated with the stream.
public String streamName()
The name of the stream.
public String streamARN()
The Amazon Resource Name (ARN) of the stream.
public String mediaType()
The MediaType
of the stream.
MediaType
of the stream.public String kmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
public String version()
The version of the stream.
public 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()
.
Status
public 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()
.
Status
public Instant creationTime()
A time stamp that indicates when the stream was created.
public Integer dataRetentionInHours()
How long the stream retains data, in hours.
public StreamInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StreamInfo.Builder,StreamInfo>
public static StreamInfo.Builder builder()
public static Class<? extends StreamInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.