Interface FileSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FileSource.Builder,,FileSource> SdkBuilder<FileSource.Builder,,FileSource> SdkPojo
- Enclosing class:
FileSource
public static interface FileSource.Builder
extends SdkPojo, CopyableBuilder<FileSource.Builder,FileSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileSource.BuilderbyteContent(Consumer<ByteContentFile.Builder> byteContent) The data and the text of the attached files.byteContent(ByteContentFile byteContent) The data and the text of the attached files.default FileSource.Builders3Location(Consumer<S3ObjectFile.Builder> s3Location) The s3 location of the files to attach.s3Location(S3ObjectFile s3Location) The s3 location of the files to attach.sourceType(String sourceType) The source type of the files to attach.sourceType(FileSourceType sourceType) The source type of the files to attach.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
-
byteContent
The data and the text of the attached files.
- Parameters:
byteContent- The data and the text of the attached files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteContent
The data and the text of the attached files.
This is a convenience method that creates an instance of theByteContentFile.Builderavoiding the need to create one manually viaByteContentFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobyteContent(ByteContentFile).- Parameters:
byteContent- a consumer that will call methods onByteContentFile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
The s3 location of the files to attach.
- Parameters:
s3Location- The s3 location of the files to attach.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
The s3 location of the files to attach.
This is a convenience method that creates an instance of theS3ObjectFile.Builderavoiding the need to create one manually viaS3ObjectFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(S3ObjectFile).- Parameters:
s3Location- a consumer that will call methods onS3ObjectFile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The source type of the files to attach.
- Parameters:
sourceType- The source type of the files to attach.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The source type of the files to attach.
- Parameters:
sourceType- The source type of the files to attach.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-