@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.
If a meeting uses an opt-in Region as its MediaRegion, the KVS stream must be in that same Region. For example, if a meeting uses the
af-south-1
Region, the KVS stream must also be in af-south-1
. However, if the meeting uses
a Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For
example, if the meeting uses ca-central-1
, the KVS stream can be in eu-west-2
,
us-east-1
, af-south-1
, or any other Region that the Amazon Chime SDK supports.
To learn which AWS Region a meeting uses, call the GetMeeting API and use the MediaRegion parameter from the response.
For more information about opt-in Regions, refer to Available Regions in the Amazon Chime SDK Developer Guide, and Specify which AWS Regions your account can use, in the AWS Account Management Reference Guide.
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.