Interface Source.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Source.Builder,,Source> SdkBuilder<Source.Builder,,Source> SdkPojo
- Enclosing class:
Source
-
Method Summary
Modifier and TypeMethodDescriptiondefault Source.Builders3(Consumer<S3Source.Builder> s3) TheS3Sourceobject.TheS3Sourceobject.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
-
s3
The
S3Sourceobject.- Parameters:
s3- TheS3Sourceobject.- 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 theS3Sourceobject.S3Source.Builderavoiding the need to create one manually viaS3Source.builder().When the
Consumercompletes,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:
-