Interface ChannelStreamConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelStreamConfiguration.Builder,,ChannelStreamConfiguration> SdkBuilder<ChannelStreamConfiguration.Builder,,ChannelStreamConfiguration> SdkPojo
- Enclosing class:
ChannelStreamConfiguration
@Mutable
@NotThreadSafe
public static interface ChannelStreamConfiguration.Builder
extends SdkPojo, CopyableBuilder<ChannelStreamConfiguration.Builder,ChannelStreamConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionrecordConfiguration(Consumer<RecordConfiguration.Builder> recordConfiguration) The record format configuration for the source stream.recordConfiguration(RecordConfiguration recordConfiguration) The record format configuration for the source stream.The Amazon Resource Name (ARN) of the source Kinesis data stream.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, sdkFieldNameToField, sdkFields
-
Method Details
-
streamARN
The Amazon Resource Name (ARN) of the source Kinesis data stream.
- Parameters:
streamARN- The Amazon Resource Name (ARN) of the source Kinesis data stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordConfiguration
The record format configuration for the source stream.
- Parameters:
recordConfiguration- The record format configuration for the source stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordConfiguration
default ChannelStreamConfiguration.Builder recordConfiguration(Consumer<RecordConfiguration.Builder> recordConfiguration) The record format configuration for the source stream.
This is a convenience method that creates an instance of theRecordConfiguration.Builderavoiding the need to create one manually viaRecordConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecordConfiguration(RecordConfiguration).- Parameters:
recordConfiguration- a consumer that will call methods onRecordConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-