Interface ImportSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportSource.Builder,,ImportSource> SdkBuilder<ImportSource.Builder,,ImportSource> SdkPojo
- Enclosing class:
ImportSource
public static interface ImportSource.Builder
extends SdkPojo, CopyableBuilder<ImportSource.Builder,ImportSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImportSource.BuilderThe source S3 bucket.s3(S3ImportSource s3) The source S3 bucket.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, sdkFieldNameToField, sdkFields
-
Method Details
-
s3
The source S3 bucket.
- Parameters:
s3- The source S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The source S3 bucket.
This is a convenience method that creates an instance of theS3ImportSource.Builderavoiding the need to create one manually viaS3ImportSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3ImportSource).- Parameters:
s3- a consumer that will call methods onS3ImportSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-