Interface S3Source.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3Source.Builder,,S3Source> SdkBuilder<S3Source.Builder,,S3Source> SdkPojo
- Enclosing class:
S3Source
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceArn(String dataSourceArn) The Amazon Resource Name (ARN) for the data source.inputColumns(Collection<InputColumn> inputColumns) A physical table type for an S3 data source.inputColumns(Consumer<InputColumn.Builder>... inputColumns) A physical table type for an S3 data source.inputColumns(InputColumn... inputColumns) A physical table type for an S3 data source.default S3Source.BuilderuploadSettings(Consumer<UploadSettings.Builder> uploadSettings) Information about the format for the S3 source file or files.uploadSettings(UploadSettings uploadSettings) Information about the format for the S3 source file or 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, sdkFields
-
Method Details
-
dataSourceArn
The Amazon Resource Name (ARN) for the data source.
- Parameters:
dataSourceArn- The Amazon Resource Name (ARN) for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadSettings
Information about the format for the S3 source file or files.
- Parameters:
uploadSettings- Information about the format for the S3 source file or files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadSettings
Information about the format for the S3 source file or files.
This is a convenience method that creates an instance of theUploadSettings.Builderavoiding the need to create one manually viaUploadSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touploadSettings(UploadSettings).- Parameters:
uploadSettings- a consumer that will call methods onUploadSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputColumns
A physical table type for an S3 data source.
For files that aren't JSON, only
STRINGdata types are supported in input columns.- Parameters:
inputColumns- A physical table type for an S3 data source.For files that aren't JSON, only
STRINGdata types are supported in input columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputColumns
A physical table type for an S3 data source.
For files that aren't JSON, only
STRINGdata types are supported in input columns.- Parameters:
inputColumns- A physical table type for an S3 data source.For files that aren't JSON, only
STRINGdata types are supported in input columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputColumns
A physical table type for an S3 data source.
This is a convenience method that creates an instance of theFor files that aren't JSON, only
STRINGdata types are supported in input columns.InputColumn.Builderavoiding the need to create one manually viaInputColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputColumns(List<InputColumn>).- Parameters:
inputColumns- a consumer that will call methods onInputColumn.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-