Interface FilePart.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FilePart.Builder,,FilePart> SdkBuilder<FilePart.Builder,,FilePart> SdkPojo
- All Known Subinterfaces:
DefaultFiles.Builder
- Enclosing class:
FilePart
public static interface FilePart.Builder
extends SdkPojo, CopyableBuilder<FilePart.Builder,FilePart>
-
Method Summary
Modifier and TypeMethodDescriptionfiles(Collection<OutputFile> files) Files containing intermediate response for the user.files(Consumer<OutputFile.Builder>... files) Files containing intermediate response for the user.files(OutputFile... files) Files containing intermediate response for the user.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
-
files
Files containing intermediate response for the user.
- Parameters:
files- Files containing intermediate response for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
Files containing intermediate response for the user.
- Parameters:
files- Files containing intermediate response for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
Files containing intermediate response for the user.
This is a convenience method that creates an instance of theOutputFile.Builderavoiding the need to create one manually viaOutputFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofiles(List<OutputFile>).- Parameters:
files- a consumer that will call methods onOutputFile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-