Interface TargetConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetConfiguration.Builder,
,TargetConfiguration> SdkBuilder<TargetConfiguration.Builder,
,TargetConfiguration> SdkPojo
- Enclosing class:
TargetConfiguration
public static interface TargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<TargetConfiguration.Builder,TargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetConfiguration.Builder
timestreamConfiguration
(Consumer<TimestreamConfiguration.Builder> timestreamConfiguration) Configuration needed to write data into the Timestream database and table.timestreamConfiguration
(TimestreamConfiguration timestreamConfiguration) Configuration needed to write data into the Timestream database and table.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 Details
-
timestreamConfiguration
TargetConfiguration.Builder timestreamConfiguration(TimestreamConfiguration timestreamConfiguration) Configuration needed to write data into the Timestream database and table.
- Parameters:
timestreamConfiguration
- Configuration needed to write data into the Timestream database and table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestreamConfiguration
default TargetConfiguration.Builder timestreamConfiguration(Consumer<TimestreamConfiguration.Builder> timestreamConfiguration) Configuration needed to write data into the Timestream database and table.
This is a convenience method that creates an instance of theTimestreamConfiguration.Builder
avoiding the need to create one manually viaTimestreamConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestreamConfiguration(TimestreamConfiguration)
.- Parameters:
timestreamConfiguration
- a consumer that will call methods onTimestreamConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-