Interface FilePart.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FilePart.Builder,
,FilePart> SdkBuilder<FilePart.Builder,
,FilePart> SdkPojo
- All Known Subinterfaces:
DefaultFiles.Builder
- Enclosing class:
FilePart
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaOutputFile.builder()
.When the
Consumer
completes,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:
-