Interface TargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetConfiguration.Builder,,TargetConfiguration> SdkBuilder<TargetConfiguration.Builder,,TargetConfiguration> SdkPojo
- Enclosing class:
TargetConfiguration
@Mutable
@NotThreadSafe
public static interface TargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<TargetConfiguration.Builder,TargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetConfiguration.BuildertimestreamConfiguration(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
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
-
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:
-