@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisVideoStreamConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of an Kinesis video stream.
Constructor and Description |
---|
KinesisVideoStreamConfiguration() |
Modifier and Type | Method and Description |
---|---|
KinesisVideoStreamConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getDataRetentionInHours()
The amount of time that data is retained.
|
String |
getRegion()
The Amazon Web Services Region of the video stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataRetentionInHours(Integer dataRetentionInHours)
The amount of time that data is retained.
|
void |
setRegion(String region)
The Amazon Web Services Region of the video stream.
|
String |
toString()
Returns a string representation of this object.
|
KinesisVideoStreamConfiguration |
withDataRetentionInHours(Integer dataRetentionInHours)
The amount of time that data is retained.
|
KinesisVideoStreamConfiguration |
withRegion(String region)
The Amazon Web Services Region of the video stream.
|
public void setRegion(String region)
The Amazon Web Services Region of the video stream.
region
- The Amazon Web Services Region of the video stream.public String getRegion()
The Amazon Web Services Region of the video stream.
public KinesisVideoStreamConfiguration withRegion(String region)
The Amazon Web Services Region of the video stream.
region
- The Amazon Web Services Region of the video stream.public void setDataRetentionInHours(Integer dataRetentionInHours)
The amount of time that data is retained.
dataRetentionInHours
- The amount of time that data is retained.public Integer getDataRetentionInHours()
The amount of time that data is retained.
public KinesisVideoStreamConfiguration withDataRetentionInHours(Integer dataRetentionInHours)
The amount of time that data is retained.
dataRetentionInHours
- The amount of time that data is retained.public String toString()
toString
in class Object
Object.toString()
public KinesisVideoStreamConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.