Interface SourceDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceDescription.Builder,
,SourceDescription> SdkBuilder<SourceDescription.Builder,
,SourceDescription> SdkPojo
- Enclosing class:
SourceDescription
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceDescription.Builder
databaseSourceDescription
(Consumer<DatabaseSourceDescription.Builder> databaseSourceDescription) Details about a database used as the source for a Firehose stream.databaseSourceDescription
(DatabaseSourceDescription databaseSourceDescription) Details about a database used as the source for a Firehose stream.default SourceDescription.Builder
directPutSourceDescription
(Consumer<DirectPutSourceDescription.Builder> directPutSourceDescription) Details about Direct PUT used as the source for a Firehose stream.directPutSourceDescription
(DirectPutSourceDescription directPutSourceDescription) Details about Direct PUT used as the source for a Firehose stream.default SourceDescription.Builder
kinesisStreamSourceDescription
(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.Builder
mskSourceDescription
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
directPutSourceDescription
SourceDescription.Builder directPutSourceDescription(DirectPutSourceDescription directPutSourceDescription) Details about Direct PUT used as the source for a Firehose stream.
- Parameters:
directPutSourceDescription
- Details about Direct PUT used as the source for a Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directPutSourceDescription
default SourceDescription.Builder directPutSourceDescription(Consumer<DirectPutSourceDescription.Builder> directPutSourceDescription) Details about Direct PUT used as the source for a Firehose stream.
This is a convenience method that creates an instance of theDirectPutSourceDescription.Builder
avoiding the need to create one manually viaDirectPutSourceDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todirectPutSourceDescription(DirectPutSourceDescription)
.- Parameters:
directPutSourceDescription
- a consumer that will call methods onDirectPutSourceDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.Builder
avoiding the need to create one manually viaKinesisStreamSourceDescription.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaMSKSourceDescription.builder()
.When the
Consumer
completes,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:
-
databaseSourceDescription
SourceDescription.Builder databaseSourceDescription(DatabaseSourceDescription databaseSourceDescription) Details about a database used as the source for a Firehose stream.
Amazon Data Firehose is in preview release and is subject to change.
- Parameters:
databaseSourceDescription
- Details about a database used as the source for a Firehose stream.Amazon Data Firehose is in preview release and is subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseSourceDescription
default SourceDescription.Builder databaseSourceDescription(Consumer<DatabaseSourceDescription.Builder> databaseSourceDescription) Details about a database used as the source for a Firehose stream.
Amazon Data Firehose is in preview release and is subject to change.
This is a convenience method that creates an instance of theDatabaseSourceDescription.Builder
avoiding the need to create one manually viaDatabaseSourceDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabaseSourceDescription(DatabaseSourceDescription)
.- Parameters:
databaseSourceDescription
- a consumer that will call methods onDatabaseSourceDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-