Class StreamInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamInfo.Builder,StreamInfo>
An object describing a Kinesis video stream.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamInfo.Builderbuilder()final InstantA time stamp that indicates when the stream was created.final IntegerHow long the stream retains data, in hours.final StringThe name of the device that is associated with the stream.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkmsKeyId()The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.final StringTheMediaTypeof the stream.static Class<? extends StreamInfo.Builder>final Statusstatus()The status of the stream.final StringThe status of the stream.final StringThe Amazon Resource Name (ARN) of the stream.final StringThe name of the stream.final StringtoString()Returns a string representation of this object.final Stringversion()The version of the stream.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deviceName
The name of the device that is associated with the stream.
- Returns:
- The name of the device that is associated with the stream.
-
streamName
The name of the stream.
- Returns:
- The name of the stream.
-
streamARN
The Amazon Resource Name (ARN) of the stream.
- Returns:
- The Amazon Resource Name (ARN) of the stream.
-
mediaType
The
MediaTypeof the stream.- Returns:
- The
MediaTypeof the stream.
-
kmsKeyId
The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
- Returns:
- The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
-
version
The version of the stream.
- Returns:
- The version of the stream.
-
status
The status of the stream.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the stream.
- See Also:
-
statusAsString
The status of the stream.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the stream.
- See Also:
-
creationTime
A time stamp that indicates when the stream was created.
- Returns:
- A time stamp that indicates when the stream was created.
-
dataRetentionInHours
How long the stream retains data, in hours.
- Returns:
- How long the stream retains data, in hours.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamInfo.Builder,StreamInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-