@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisVideoStreamConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information of a Kinesis video stream.
Constructor and Description |
---|
KinesisVideoStreamConfig() |
Modifier and Type | Method and Description |
---|---|
KinesisVideoStreamConfig |
clone() |
boolean |
equals(Object obj) |
EncryptionConfig |
getEncryptionConfig()
The encryption configuration.
|
String |
getPrefix()
The prefix of the video stream.
|
Integer |
getRetentionPeriodHours()
The number of hours data is retained in the stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
|
void |
setPrefix(String prefix)
The prefix of the video stream.
|
void |
setRetentionPeriodHours(Integer retentionPeriodHours)
The number of hours data is retained in the stream.
|
String |
toString()
Returns a string representation of this object.
|
KinesisVideoStreamConfig |
withEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
|
KinesisVideoStreamConfig |
withPrefix(String prefix)
The prefix of the video stream.
|
KinesisVideoStreamConfig |
withRetentionPeriodHours(Integer retentionPeriodHours)
The number of hours data is retained in the stream.
|
public void setPrefix(String prefix)
The prefix of the video stream.
prefix
- The prefix of the video stream.public String getPrefix()
The prefix of the video stream.
public KinesisVideoStreamConfig withPrefix(String prefix)
The prefix of the video stream.
prefix
- The prefix of the video stream.public void setRetentionPeriodHours(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.
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 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.
The default value is 0, indicating that the stream does not persist data.
public KinesisVideoStreamConfig withRetentionPeriodHours(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.
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 void setEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
encryptionConfig
- The encryption configuration.public EncryptionConfig getEncryptionConfig()
The encryption configuration.
public KinesisVideoStreamConfig withEncryptionConfig(EncryptionConfig encryptionConfig)
The encryption configuration.
encryptionConfig
- The encryption configuration.public String toString()
toString
in class Object
Object.toString()
public KinesisVideoStreamConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.