Interface SourceLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceLocation.Builder,,SourceLocation> SdkBuilder<SourceLocation.Builder,,SourceLocation> SdkPojo
- Enclosing class:
SourceLocation
@Mutable
@NotThreadSafe
public static interface SourceLocation.Builder
extends SdkPojo, CopyableBuilder<SourceLocation.Builder,SourceLocation>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Simple Storage Service URI of the notebook source file.default SourceLocation.Builders3Files(Consumer<S3FilesLocation.Builder> s3Files) The Amazon Simple Storage Service objects to import as the notebook's cells.s3Files(S3FilesLocation s3Files) The Amazon Simple Storage Service objects to import as the notebook's cells.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 Amazon Simple Storage Service URI of the notebook source file.
- Parameters:
s3- The Amazon Simple Storage Service URI of the notebook source file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Files
The Amazon Simple Storage Service objects to import as the notebook's cells. One cell is created for each object, in the order in which you list them.
- Parameters:
s3Files- The Amazon Simple Storage Service objects to import as the notebook's cells. One cell is created for each object, in the order in which you list them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Files
The Amazon Simple Storage Service objects to import as the notebook's cells. One cell is created for each object, in the order in which you list them.
This is a convenience method that creates an instance of theS3FilesLocation.Builderavoiding the need to create one manually viaS3FilesLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Files(S3FilesLocation).- Parameters:
s3Files- a consumer that will call methods onS3FilesLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-