Interface S3ExcelSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3ExcelSource.Builder,S3ExcelSource>,SdkBuilder<S3ExcelSource.Builder,S3ExcelSource>,SdkPojo
- Enclosing class:
- S3ExcelSource
@Mutable @NotThreadSafe public static interface S3ExcelSource.Builder extends SdkPojo, CopyableBuilder<S3ExcelSource.Builder,S3ExcelSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3ExcelSource.BuilderadditionalOptions(Consumer<S3DirectSourceAdditionalOptions.Builder> additionalOptions)Additional configuration options for S3 direct source processing.S3ExcelSource.BuilderadditionalOptions(S3DirectSourceAdditionalOptions additionalOptions)Additional configuration options for S3 direct source processing.S3ExcelSource.BuildercompressionType(String compressionType)The compression format used for the Excel files.S3ExcelSource.BuildercompressionType(ParquetCompressionType compressionType)The compression format used for the Excel files.S3ExcelSource.Builderexclusions(String... exclusions)Patterns to exclude specific files or paths from processing.S3ExcelSource.Builderexclusions(Collection<String> exclusions)Patterns to exclude specific files or paths from processing.S3ExcelSource.BuildergroupFiles(String groupFiles)Specifies how files should be grouped for processing.S3ExcelSource.BuildergroupSize(String groupSize)Defines the size of file groups for batch processing.S3ExcelSource.BuildermaxBand(Integer maxBand)The maximum number of processing bands to use.S3ExcelSource.BuildermaxFilesInBand(Integer maxFilesInBand)The maximum number of files to process in each band.S3ExcelSource.Buildername(String name)The name of the S3 Excel data source.S3ExcelSource.BuildernumberRows(Long numberRows)The number of rows to process from each Excel file.S3ExcelSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)The AWS Glue schemas to apply to the processed data.S3ExcelSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)The AWS Glue schemas to apply to the processed data.S3ExcelSource.BuilderoutputSchemas(GlueSchema... outputSchemas)The AWS Glue schemas to apply to the processed data.S3ExcelSource.Builderpaths(String... paths)The S3 paths where the Excel files are located.S3ExcelSource.Builderpaths(Collection<String> paths)The S3 paths where the Excel files are located.S3ExcelSource.Builderrecurse(Boolean recurse)Indicates whether to recursively process subdirectories.S3ExcelSource.BuilderskipFooter(Integer skipFooter)The number of rows to skip at the end of each Excel file.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
S3ExcelSource.Builder name(String name)
The name of the S3 Excel data source.
- Parameters:
name- The name of the S3 Excel data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paths
S3ExcelSource.Builder paths(Collection<String> paths)
The S3 paths where the Excel files are located.
- Parameters:
paths- The S3 paths where the Excel files are located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paths
S3ExcelSource.Builder paths(String... paths)
The S3 paths where the Excel files are located.
- Parameters:
paths- The S3 paths where the Excel files are located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compressionType
S3ExcelSource.Builder compressionType(String compressionType)
The compression format used for the Excel files.
- Parameters:
compressionType- The compression format used for the Excel files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParquetCompressionType,ParquetCompressionType
-
compressionType
S3ExcelSource.Builder compressionType(ParquetCompressionType compressionType)
The compression format used for the Excel files.
- Parameters:
compressionType- The compression format used for the Excel files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParquetCompressionType,ParquetCompressionType
-
exclusions
S3ExcelSource.Builder exclusions(Collection<String> exclusions)
Patterns to exclude specific files or paths from processing.
- Parameters:
exclusions- Patterns to exclude specific files or paths from processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusions
S3ExcelSource.Builder exclusions(String... exclusions)
Patterns to exclude specific files or paths from processing.
- Parameters:
exclusions- Patterns to exclude specific files or paths from processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupSize
S3ExcelSource.Builder groupSize(String groupSize)
Defines the size of file groups for batch processing.
- Parameters:
groupSize- Defines the size of file groups for batch processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupFiles
S3ExcelSource.Builder groupFiles(String groupFiles)
Specifies how files should be grouped for processing.
- Parameters:
groupFiles- Specifies how files should be grouped for processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurse
S3ExcelSource.Builder recurse(Boolean recurse)
Indicates whether to recursively process subdirectories.
- Parameters:
recurse- Indicates whether to recursively process subdirectories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxBand
S3ExcelSource.Builder maxBand(Integer maxBand)
The maximum number of processing bands to use.
- Parameters:
maxBand- The maximum number of processing bands to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxFilesInBand
S3ExcelSource.Builder maxFilesInBand(Integer maxFilesInBand)
The maximum number of files to process in each band.
- Parameters:
maxFilesInBand- The maximum number of files to process in each band.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
S3ExcelSource.Builder additionalOptions(S3DirectSourceAdditionalOptions additionalOptions)
Additional configuration options for S3 direct source processing.
- Parameters:
additionalOptions- Additional configuration options for S3 direct source processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
default S3ExcelSource.Builder additionalOptions(Consumer<S3DirectSourceAdditionalOptions.Builder> additionalOptions)
Additional configuration options for S3 direct source processing.
This is a convenience method that creates an instance of theS3DirectSourceAdditionalOptions.Builderavoiding the need to create one manually viaS3DirectSourceAdditionalOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalOptions(S3DirectSourceAdditionalOptions).- Parameters:
additionalOptions- a consumer that will call methods onS3DirectSourceAdditionalOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
additionalOptions(S3DirectSourceAdditionalOptions)
-
numberRows
S3ExcelSource.Builder numberRows(Long numberRows)
The number of rows to process from each Excel file.
- Parameters:
numberRows- The number of rows to process from each Excel file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipFooter
S3ExcelSource.Builder skipFooter(Integer skipFooter)
The number of rows to skip at the end of each Excel file.
- Parameters:
skipFooter- The number of rows to skip at the end of each Excel file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
S3ExcelSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
The AWS Glue schemas to apply to the processed data.
- Parameters:
outputSchemas- The AWS Glue schemas to apply to the processed data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
S3ExcelSource.Builder outputSchemas(GlueSchema... outputSchemas)
The AWS Glue schemas to apply to the processed data.
- Parameters:
outputSchemas- The AWS Glue schemas to apply to the processed data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
S3ExcelSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
The AWS Glue schemas to apply to the processed data.
This is a convenience method that creates an instance of theGlueSchema.Builderavoiding the need to create one manually viaGlueSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSchemas(List.) - Parameters:
outputSchemas- a consumer that will call methods onGlueSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputSchemas(java.util.Collection)
-
-