Interface InlineAgentFilePart.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InlineAgentFilePart.Builder,,InlineAgentFilePart> SdkBuilder<InlineAgentFilePart.Builder,,InlineAgentFilePart> SdkPojo
- All Known Subinterfaces:
DefaultFiles.Builder
- Enclosing class:
InlineAgentFilePart
@Mutable
@NotThreadSafe
public static interface InlineAgentFilePart.Builder
extends SdkPojo, CopyableBuilder<InlineAgentFilePart.Builder,InlineAgentFilePart>
-
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, 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.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:
-