Interface SourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceConfiguration.Builder,,SourceConfiguration> SdkBuilder<SourceConfiguration.Builder,,SourceConfiguration> SdkPojo
- Enclosing class:
SourceConfiguration
@Mutable
@NotThreadSafe
public static interface SourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsourceEnvironment(String sourceEnvironment) The source environment type.sourceEnvironment(SourceEnvironment sourceEnvironment) The source environment type.default SourceConfiguration.BuildersourceS3Configuration(Consumer<SourceS3Configuration.Builder> sourceS3Configuration) The S3 configuration for the source data.sourceS3Configuration(SourceS3Configuration sourceS3Configuration) The S3 configuration for the source data.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
-
sourceEnvironment
The source environment type.
- Parameters:
sourceEnvironment- The source environment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceEnvironment
The source environment type.
- Parameters:
sourceEnvironment- The source environment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceS3Configuration
The S3 configuration for the source data.
- Parameters:
sourceS3Configuration- The S3 configuration for the source data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Configuration
default SourceConfiguration.Builder sourceS3Configuration(Consumer<SourceS3Configuration.Builder> sourceS3Configuration) The S3 configuration for the source data.
This is a convenience method that creates an instance of theSourceS3Configuration.Builderavoiding the need to create one manually viaSourceS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceS3Configuration(SourceS3Configuration).- Parameters:
sourceS3Configuration- a consumer that will call methods onSourceS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-