Interface StreamingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamingConfiguration.Builder,
,StreamingConfiguration> SdkBuilder<StreamingConfiguration.Builder,
,StreamingConfiguration> SdkPojo
- Enclosing class:
StreamingConfiguration
public static interface StreamingConfiguration.Builder
extends SdkPojo, CopyableBuilder<StreamingConfiguration.Builder,StreamingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondataRetentionInHours
(Integer dataRetentionInHours) The retention period, in hours, for the Amazon Kinesis data.When true, media streaming to Amazon Kinesis is turned off.streamingNotificationTargets
(Collection<StreamingNotificationTarget> streamingNotificationTargets) The streaming notification targets.streamingNotificationTargets
(Consumer<StreamingNotificationTarget.Builder>... streamingNotificationTargets) The streaming notification targets.streamingNotificationTargets
(StreamingNotificationTarget... streamingNotificationTargets) The streaming notification targets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataRetentionInHours
The retention period, in hours, for the Amazon Kinesis data.
- Parameters:
dataRetentionInHours
- The retention period, in hours, for the Amazon Kinesis data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disabled
When true, media streaming to Amazon Kinesis is turned off.
- Parameters:
disabled
- When true, media streaming to Amazon Kinesis is turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingNotificationTargets
StreamingConfiguration.Builder streamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets) The streaming notification targets.
- Parameters:
streamingNotificationTargets
- The streaming notification targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingNotificationTargets
StreamingConfiguration.Builder streamingNotificationTargets(StreamingNotificationTarget... streamingNotificationTargets) The streaming notification targets.
- Parameters:
streamingNotificationTargets
- The streaming notification targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingNotificationTargets
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 viaStreamingNotificationTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamingNotificationTargets(List<StreamingNotificationTarget>)
.- Parameters:
streamingNotificationTargets
- a consumer that will call methods onStreamingNotificationTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-