Interface S3SourceProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3SourceProperties.Builder,S3SourceProperties>,SdkBuilder<S3SourceProperties.Builder,S3SourceProperties>,SdkPojo
- Enclosing class:
- S3SourceProperties
public static interface S3SourceProperties.Builder extends SdkPojo, CopyableBuilder<S3SourceProperties.Builder,S3SourceProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3SourceProperties.BuilderbucketName(String bucketName)The Amazon S3 bucket name where the source files are stored.S3SourceProperties.BuilderbucketPrefix(String bucketPrefix)The object key for the Amazon S3 bucket in which the source files are stored.default S3SourceProperties.Builders3InputFormatConfig(Consumer<S3InputFormatConfig.Builder> s3InputFormatConfig)Sets the value of the S3InputFormatConfig property for this object.S3SourceProperties.Builders3InputFormatConfig(S3InputFormatConfig s3InputFormatConfig)Sets the value of the S3InputFormatConfig property for this object.-
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
-
bucketName
S3SourceProperties.Builder bucketName(String bucketName)
The Amazon S3 bucket name where the source files are stored.
- Parameters:
bucketName- The Amazon S3 bucket name where the source files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketPrefix
S3SourceProperties.Builder bucketPrefix(String bucketPrefix)
The object key for the Amazon S3 bucket in which the source files are stored.
- Parameters:
bucketPrefix- The object key for the Amazon S3 bucket in which the source files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3InputFormatConfig
S3SourceProperties.Builder s3InputFormatConfig(S3InputFormatConfig s3InputFormatConfig)
Sets the value of the S3InputFormatConfig property for this object.- Parameters:
s3InputFormatConfig- The new value for the S3InputFormatConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3InputFormatConfig
default S3SourceProperties.Builder s3InputFormatConfig(Consumer<S3InputFormatConfig.Builder> s3InputFormatConfig)
Sets the value of the S3InputFormatConfig property for this object. This is a convenience method that creates an instance of theS3InputFormatConfig.Builderavoiding the need to create one manually viaS3InputFormatConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3InputFormatConfig(S3InputFormatConfig).- Parameters:
s3InputFormatConfig- a consumer that will call methods onS3InputFormatConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3InputFormatConfig(S3InputFormatConfig)
-
-