Interface S3SourceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3SourceConfig.Builder,S3SourceConfig>,SdkBuilder<S3SourceConfig.Builder,S3SourceConfig>,SdkPojo
- Enclosing class:
- S3SourceConfig
public static interface S3SourceConfig.Builder extends SdkPojo, CopyableBuilder<S3SourceConfig.Builder,S3SourceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3SourceConfig.BuilderfileFormatDescriptor(Consumer<FileFormatDescriptor.Builder> fileFormatDescriptor)Contains information about a source file's formatting.S3SourceConfig.BuilderfileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor)Contains information about a source file's formatting.S3SourceConfig.BuilderhistoricalDataPathList(String... historicalDataPathList)A list of paths to the historical data files.S3SourceConfig.BuilderhistoricalDataPathList(Collection<String> historicalDataPathList)A list of paths to the historical data files.S3SourceConfig.BuilderroleArn(String roleArn)The ARN of an IAM role that has read and write access permissions to the source S3 bucket.S3SourceConfig.BuildertemplatedPathList(String... templatedPathList)A list of templated paths to the source files.S3SourceConfig.BuildertemplatedPathList(Collection<String> templatedPathList)A list of templated paths to the source files.-
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
-
roleArn
S3SourceConfig.Builder roleArn(String 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
S3SourceConfig.Builder templatedPathList(Collection<String> 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
S3SourceConfig.Builder templatedPathList(String... 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
S3SourceConfig.Builder historicalDataPathList(Collection<String> 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
S3SourceConfig.Builder historicalDataPathList(String... 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
S3SourceConfig.Builder fileFormatDescriptor(FileFormatDescriptor 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:
fileFormatDescriptor(FileFormatDescriptor)
-
-