@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The streaming configuration associated with an Amazon Chime Voice Connector. Specifies whether media streaming is enabled for sending to Amazon Kinesis, and shows the retention period for the Amazon Kinesis data, in hours.
Constructor and Description |
---|
StreamingConfiguration() |
Modifier and Type | Method and Description |
---|---|
StreamingConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getDataRetentionInHours()
The retention period, in hours, for the Amazon Kinesis data.
|
Boolean |
getDisabled()
When true, media streaming to Amazon Kinesis is turned off.
|
List<StreamingNotificationTarget> |
getStreamingNotificationTargets()
The streaming notification targets.
|
int |
hashCode() |
Boolean |
isDisabled()
When true, media streaming to Amazon Kinesis is turned off.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataRetentionInHours(Integer dataRetentionInHours)
The retention period, in hours, for the Amazon Kinesis data.
|
void |
setDisabled(Boolean disabled)
When true, media streaming to Amazon Kinesis is turned off.
|
void |
setStreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
|
String |
toString()
Returns a string representation of this object.
|
StreamingConfiguration |
withDataRetentionInHours(Integer dataRetentionInHours)
The retention period, in hours, for the Amazon Kinesis data.
|
StreamingConfiguration |
withDisabled(Boolean disabled)
When true, media streaming to Amazon Kinesis is turned off.
|
StreamingConfiguration |
withStreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
|
StreamingConfiguration |
withStreamingNotificationTargets(StreamingNotificationTarget... streamingNotificationTargets)
The streaming notification targets.
|
public void setDataRetentionInHours(Integer dataRetentionInHours)
The retention period, in hours, for the Amazon Kinesis data.
dataRetentionInHours
- The retention period, in hours, for the Amazon Kinesis data.public Integer getDataRetentionInHours()
The retention period, in hours, for the Amazon Kinesis data.
public StreamingConfiguration withDataRetentionInHours(Integer dataRetentionInHours)
The retention period, in hours, for the Amazon Kinesis data.
dataRetentionInHours
- The retention period, in hours, for the Amazon Kinesis data.public void setDisabled(Boolean disabled)
When true, media streaming to Amazon Kinesis is turned off.
disabled
- When true, media streaming to Amazon Kinesis is turned off.public Boolean getDisabled()
When true, media streaming to Amazon Kinesis is turned off.
public StreamingConfiguration withDisabled(Boolean disabled)
When true, media streaming to Amazon Kinesis is turned off.
disabled
- When true, media streaming to Amazon Kinesis is turned off.public Boolean isDisabled()
When true, media streaming to Amazon Kinesis is turned off.
public List<StreamingNotificationTarget> getStreamingNotificationTargets()
The streaming notification targets.
public void setStreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
streamingNotificationTargets
- The streaming notification targets.public StreamingConfiguration withStreamingNotificationTargets(StreamingNotificationTarget... streamingNotificationTargets)
The streaming notification targets.
NOTE: This method appends the values to the existing list (if any). Use
setStreamingNotificationTargets(java.util.Collection)
or
withStreamingNotificationTargets(java.util.Collection)
if you want to override the existing values.
streamingNotificationTargets
- The streaming notification targets.public StreamingConfiguration withStreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
streamingNotificationTargets
- The streaming notification targets.public String toString()
toString
in class Object
Object.toString()
public StreamingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.