Interface StreamConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StreamConfiguration.Builder,,StreamConfiguration> SdkBuilder<StreamConfiguration.Builder,,StreamConfiguration> SdkPojo
- Enclosing class:
StreamConfiguration
public static interface StreamConfiguration.Builder
extends SdkPojo, CopyableBuilder<StreamConfiguration.Builder,StreamConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfragmentNumber(String fragmentNumber) The unique identifier of the fragment to begin processing.The ARN of the stream.default StreamConfiguration.BuilderstreamChannelDefinition(Consumer<StreamChannelDefinition.Builder> streamChannelDefinition) The streaming channel definition in the stream configuration.streamChannelDefinition(StreamChannelDefinition streamChannelDefinition) The streaming channel definition in the stream configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
streamArn
The ARN of the stream.
- Parameters:
streamArn- The ARN of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragmentNumber
The unique identifier of the fragment to begin processing.
- Parameters:
fragmentNumber- The unique identifier of the fragment to begin processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamChannelDefinition
StreamConfiguration.Builder streamChannelDefinition(StreamChannelDefinition streamChannelDefinition) The streaming channel definition in the stream configuration.
- Parameters:
streamChannelDefinition- The streaming channel definition in the stream configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamChannelDefinition
default StreamConfiguration.Builder streamChannelDefinition(Consumer<StreamChannelDefinition.Builder> streamChannelDefinition) The streaming channel definition in the stream configuration.
This is a convenience method that creates an instance of theStreamChannelDefinition.Builderavoiding the need to create one manually viaStreamChannelDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamChannelDefinition(StreamChannelDefinition).- Parameters:
streamChannelDefinition- a consumer that will call methods onStreamChannelDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-