Interface SourceDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceDescription.Builder,,SourceDescription> SdkBuilder<SourceDescription.Builder,,SourceDescription> SdkPojo
- Enclosing class:
SourceDescription
public static interface SourceDescription.Builder
extends SdkPojo, CopyableBuilder<SourceDescription.Builder,SourceDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceDescription.BuilderkinesisStreamSourceDescription(Consumer<KinesisStreamSourceDescription.Builder> kinesisStreamSourceDescription) The KinesisStreamSourceDescription value for the source Kinesis data stream.kinesisStreamSourceDescription(KinesisStreamSourceDescription kinesisStreamSourceDescription) The KinesisStreamSourceDescription value for the source Kinesis data stream.default SourceDescription.BuildermskSourceDescription(Consumer<MSKSourceDescription.Builder> mskSourceDescription) The configuration description for the Amazon MSK cluster to be used as the source for a delivery stream.mskSourceDescription(MSKSourceDescription mskSourceDescription) The configuration description for the Amazon MSK cluster to be used as the source for a delivery 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, sdkFields
-
Method Details
-
kinesisStreamSourceDescription
SourceDescription.Builder kinesisStreamSourceDescription(KinesisStreamSourceDescription kinesisStreamSourceDescription) The KinesisStreamSourceDescription value for the source Kinesis data stream.
- Parameters:
kinesisStreamSourceDescription- The KinesisStreamSourceDescription value for the source Kinesis data stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisStreamSourceDescription
default SourceDescription.Builder kinesisStreamSourceDescription(Consumer<KinesisStreamSourceDescription.Builder> kinesisStreamSourceDescription) The KinesisStreamSourceDescription value for the source Kinesis data stream.
This is a convenience method that creates an instance of theKinesisStreamSourceDescription.Builderavoiding the need to create one manually viaKinesisStreamSourceDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokinesisStreamSourceDescription(KinesisStreamSourceDescription).- Parameters:
kinesisStreamSourceDescription- a consumer that will call methods onKinesisStreamSourceDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mskSourceDescription
The configuration description for the Amazon MSK cluster to be used as the source for a delivery stream.
- Parameters:
mskSourceDescription- The configuration description for the Amazon MSK cluster to be used as the source for a delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mskSourceDescription
default SourceDescription.Builder mskSourceDescription(Consumer<MSKSourceDescription.Builder> mskSourceDescription) The configuration description for the Amazon MSK cluster to be used as the source for a delivery stream.
This is a convenience method that creates an instance of theMSKSourceDescription.Builderavoiding the need to create one manually viaMSKSourceDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomskSourceDescription(MSKSourceDescription).- Parameters:
mskSourceDescription- a consumer that will call methods onMSKSourceDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-