Interface Source.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Source.Builder,Source>,SdkBuilder<Source.Builder,Source>,SdkPojo
- Enclosing class:
- Source
public static interface Source.Builder extends SdkPojo, CopyableBuilder<Source.Builder,Source>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Source.Builders3(Consumer<S3Source.Builder> s3)TheS3Sourceobject.Source.Builders3(S3Source s3)TheS3Sourceobject.-
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
-
s3
Source.Builder s3(S3Source s3)
The
S3Sourceobject.- Parameters:
s3- TheS3Sourceobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default Source.Builder s3(Consumer<S3Source.Builder> 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:
s3(S3Source)
-
-