public static interface StreamingConfiguration.Builder extends SdkPojo, CopyableBuilder<StreamingConfiguration.Builder,StreamingConfiguration>
| Modifier and Type | Method and Description |
|---|---|
StreamingConfiguration.Builder |
dataRetentionInHours(Integer dataRetentionInHours)
The retention period, in hours, for the Amazon Kinesis data.
|
StreamingConfiguration.Builder |
disabled(Boolean disabled)
When true, media streaming to Amazon Kinesis is turned off.
|
StreamingConfiguration.Builder |
streamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
|
StreamingConfiguration.Builder |
streamingNotificationTargets(Consumer<StreamingNotificationTarget.Builder>... streamingNotificationTargets)
The streaming notification targets.
|
StreamingConfiguration.Builder |
streamingNotificationTargets(StreamingNotificationTarget... streamingNotificationTargets)
The streaming notification targets.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStreamingConfiguration.Builder dataRetentionInHours(Integer dataRetentionInHours)
The retention period, in hours, for the Amazon Kinesis data.
dataRetentionInHours - The retention period, in hours, for the Amazon Kinesis data.StreamingConfiguration.Builder disabled(Boolean disabled)
When true, media streaming to Amazon Kinesis is turned off.
disabled - When true, media streaming to Amazon Kinesis is turned off.StreamingConfiguration.Builder streamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)
The streaming notification targets.
streamingNotificationTargets - The streaming notification targets.StreamingConfiguration.Builder streamingNotificationTargets(StreamingNotificationTarget... streamingNotificationTargets)
The streaming notification targets.
streamingNotificationTargets - The streaming notification targets.StreamingConfiguration.Builder streamingNotificationTargets(Consumer<StreamingNotificationTarget.Builder>... streamingNotificationTargets)
The streaming notification targets.
This is a convenience method that creates an instance of theStreamingNotificationTarget.Builder avoiding the need to
create one manually via
StreamingNotificationTarget.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #streamingNotificationTargets(List.
streamingNotificationTargets - a consumer that will call methods on
StreamingNotificationTarget.Builder#streamingNotificationTargets(java.util.Collection) Copyright © 2023. All rights reserved.