Interface Source.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Source.Builder,
,Source> SdkBuilder<Source.Builder,
,Source> SdkPojo
- Enclosing class:
Source
-
Method Summary
Modifier and TypeMethodDescriptiondefault Source.Builder
s3
(Consumer<S3Source.Builder> s3) TheS3Source
object.TheS3Source
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 Details
-
s3
The
S3Source
object.- Parameters:
s3
- TheS3Source
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The
This is a convenience method that creates an instance of theS3Source
object.S3Source.Builder
avoiding the need to create one manually viaS3Source.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3Source)
.- Parameters:
s3
- a consumer that will call methods onS3Source.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-