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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TargetConfiguration.BuildertimestreamConfiguration(Consumer<TimestreamConfiguration.Builder> timestreamConfiguration)Configuration needed to write data into the Timestream database and table.TargetConfiguration.BuildertimestreamConfiguration(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 Detail
-
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.Builderavoiding the need to create one manually viaTimestreamConfiguration.builder().When the
Consumercompletes,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:
timestreamConfiguration(TimestreamConfiguration)
-
-