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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingConfiguration.BuilderdataRetentionInHours(Integer dataRetentionInHours)The retention period, in hours, for the Amazon Kinesis data.StreamingConfiguration.Builderdisabled(Boolean disabled)When true, media streaming to Amazon Kinesis is turned off.StreamingConfiguration.BuilderstreamingNotificationTargets(Collection<StreamingNotificationTarget> streamingNotificationTargets)The streaming notification targets.StreamingConfiguration.BuilderstreamingNotificationTargets(Consumer<StreamingNotificationTarget.Builder>... streamingNotificationTargets)The streaming notification targets.StreamingConfiguration.BuilderstreamingNotificationTargets(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 Detail
-
dataRetentionInHours
StreamingConfiguration.Builder dataRetentionInHours(Integer 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
StreamingConfiguration.Builder disabled(Boolean 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.Builderavoiding the need to create one manually viaStreamingNotificationTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#streamingNotificationTargets(List.) - 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:
#streamingNotificationTargets(java.util.Collection)
-
-