Interface S3SourceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3SourceConfig.Builder,,S3SourceConfig> SdkBuilder<S3SourceConfig.Builder,,S3SourceConfig> SdkPojo
- Enclosing class:
S3SourceConfig
@Mutable
@NotThreadSafe
public static interface S3SourceConfig.Builder
extends SdkPojo, CopyableBuilder<S3SourceConfig.Builder,S3SourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3SourceConfig.BuilderfileFormatDescriptor(Consumer<FileFormatDescriptor.Builder> fileFormatDescriptor) Contains information about a source file's formatting.fileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor) Contains information about a source file's formatting.historicalDataPathList(String... historicalDataPathList) A list of paths to the historical data files.historicalDataPathList(Collection<String> historicalDataPathList) A list of paths to the historical data files.The ARN of an IAM role that has read and write access permissions to the source S3 bucket.templatedPathList(String... templatedPathList) A list of templated paths to the source files.templatedPathList(Collection<String> templatedPathList) A list of templated paths to the source files.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
-
roleArn
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
- Parameters:
roleArn- The ARN of an IAM role that has read and write access permissions to the source S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templatedPathList
A list of templated paths to the source files.
- Parameters:
templatedPathList- A list of templated paths to the source files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templatedPathList
A list of templated paths to the source files.
- Parameters:
templatedPathList- A list of templated paths to the source files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalDataPathList
A list of paths to the historical data files.
- Parameters:
historicalDataPathList- A list of paths to the historical data files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historicalDataPathList
A list of paths to the historical data files.
- Parameters:
historicalDataPathList- A list of paths to the historical data files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormatDescriptor
Contains information about a source file's formatting.
- Parameters:
fileFormatDescriptor- Contains information about a source file's formatting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormatDescriptor
default S3SourceConfig.Builder fileFormatDescriptor(Consumer<FileFormatDescriptor.Builder> fileFormatDescriptor) Contains information about a source file's formatting.
This is a convenience method that creates an instance of theFileFormatDescriptor.Builderavoiding the need to create one manually viaFileFormatDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileFormatDescriptor(FileFormatDescriptor).- Parameters:
fileFormatDescriptor- a consumer that will call methods onFileFormatDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-