Interface InputFile.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InputFile.Builder,,InputFile> SdkBuilder<InputFile.Builder,,InputFile> SdkPojo
- Enclosing class:
InputFile
public static interface InputFile.Builder
extends SdkPojo, CopyableBuilder<InputFile.Builder,InputFile>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the source file.default InputFile.Buildersource(Consumer<FileSource.Builder> source) Specifies where the files are located.source(FileSource source) Specifies where the files are located.Specifies how the source files will be used by the code interpreter.useCase(FileUseCase useCase) Specifies how the source files will be used by the code interpreter.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
-
name
The name of the source file.
- Parameters:
name- The name of the source file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Specifies where the files are located.
- Parameters:
source- Specifies where the files are located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Specifies where the files are located.
This is a convenience method that creates an instance of theFileSource.Builderavoiding the need to create one manually viaFileSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(FileSource).- Parameters:
source- a consumer that will call methods onFileSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
useCase
Specifies how the source files will be used by the code interpreter.
- Parameters:
useCase- Specifies how the source files will be used by the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
useCase
Specifies how the source files will be used by the code interpreter.
- Parameters:
useCase- Specifies how the source files will be used by the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-