@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 SDK 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 amount of time, in hours, to the Kinesis data.
|
Boolean |
getDisabled()
When true, streaming to Kinesis is off.
|
MediaInsightsConfiguration |
getMediaInsightsConfiguration()
The call analytics configuration.
|
List<StreamingNotificationTarget> |
getStreamingNotificationTargets()
The streaming notification targets.
|
int |
hashCode() |
Boolean |
isDisabled()
When true, streaming to Kinesis is off.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataRetentionInHours(Integer dataRetentionInHours)
The amount of time, in hours, to the Kinesis data.
|
void |
setDisabled(Boolean disabled)
When true, streaming to Kinesis is off.
|
void |
setMediaInsightsConfiguration(MediaInsightsConfiguration mediaInsightsConfiguration)
The call analytics configuration.
|
void |
setStreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
|
String |
toString()
Returns a string representation of this object.
|
StreamingConfiguration |
withDataRetentionInHours(Integer dataRetentionInHours)
The amount of time, in hours, to the Kinesis data.
|
StreamingConfiguration |
withDisabled(Boolean disabled)
When true, streaming to Kinesis is off.
|
StreamingConfiguration |
withMediaInsightsConfiguration(MediaInsightsConfiguration mediaInsightsConfiguration)
The call analytics configuration.
|
StreamingConfiguration |
withStreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
|
StreamingConfiguration |
withStreamingNotificationTargets(StreamingNotificationTarget... streamingNotificationTargets)
The streaming notification targets.
|
public void setDataRetentionInHours(Integer dataRetentionInHours)
The amount of time, in hours, to the Kinesis data.
dataRetentionInHours
- The amount of time, in hours, to the Kinesis data.public Integer getDataRetentionInHours()
The amount of time, in hours, to the Kinesis data.
public StreamingConfiguration withDataRetentionInHours(Integer dataRetentionInHours)
The amount of time, in hours, to the Kinesis data.
dataRetentionInHours
- The amount of time, in hours, to the Kinesis data.public void setDisabled(Boolean disabled)
When true, streaming to Kinesis is off.
disabled
- When true, streaming to Kinesis is off.public Boolean getDisabled()
When true, streaming to Kinesis is off.
public StreamingConfiguration withDisabled(Boolean disabled)
When true, streaming to Kinesis is off.
disabled
- When true, streaming to Kinesis is off.public Boolean isDisabled()
When true, streaming to Kinesis is 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 void setMediaInsightsConfiguration(MediaInsightsConfiguration mediaInsightsConfiguration)
The call analytics configuration.
mediaInsightsConfiguration
- The call analytics configuration.public MediaInsightsConfiguration getMediaInsightsConfiguration()
The call analytics configuration.
public StreamingConfiguration withMediaInsightsConfiguration(MediaInsightsConfiguration mediaInsightsConfiguration)
The call analytics configuration.
mediaInsightsConfiguration
- The call analytics configuration.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.