public class KinesisVideoStreamConfig
extends java.lang.Object
implements java.io.Serializable
Configuration information of a Kinesis video stream.
Constructor and Description |
---|
KinesisVideoStreamConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
EncryptionConfig |
getEncryptionConfig()
The encryption configuration.
|
java.lang.String |
getPrefix()
The prefix of the video stream.
|
java.lang.Integer |
getRetentionPeriodHours()
The number of hours data is retained in the stream.
|
int |
hashCode() |
void |
setEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
|
void |
setPrefix(java.lang.String prefix)
The prefix of the video stream.
|
void |
setRetentionPeriodHours(java.lang.Integer retentionPeriodHours)
The number of hours data is retained in the stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
KinesisVideoStreamConfig |
withEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
|
KinesisVideoStreamConfig |
withPrefix(java.lang.String prefix)
The prefix of the video stream.
|
KinesisVideoStreamConfig |
withRetentionPeriodHours(java.lang.Integer retentionPeriodHours)
The number of hours data is retained in the stream.
|
public java.lang.String getPrefix()
The prefix of the video stream.
Constraints:
Length: 1 - 128
The prefix of the video stream.
public void setPrefix(java.lang.String prefix)
The prefix of the video stream.
Constraints:
Length: 1 - 128
prefix
- The prefix of the video stream.
public KinesisVideoStreamConfig withPrefix(java.lang.String prefix)
The prefix of the video stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
prefix
- The prefix of the video stream.
public java.lang.Integer getRetentionPeriodHours()
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
Constraints:
Range: 0 - 87600
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
public void setRetentionPeriodHours(java.lang.Integer retentionPeriodHours)
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
Constraints:
Range: 0 - 87600
retentionPeriodHours
- The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
public KinesisVideoStreamConfig withRetentionPeriodHours(java.lang.Integer retentionPeriodHours)
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 87600
retentionPeriodHours
- The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
public EncryptionConfig getEncryptionConfig()
The encryption configuration.
The encryption configuration.
public void setEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
encryptionConfig
- The encryption configuration.
public KinesisVideoStreamConfig withEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
Returns a reference to this object so that method calls can be chained together.
encryptionConfig
- The encryption configuration.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.