Interface IngestedFilesSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IngestedFilesSummary.Builder,,IngestedFilesSummary> SdkBuilder<IngestedFilesSummary.Builder,,IngestedFilesSummary> SdkPojo
- Enclosing class:
IngestedFilesSummary
public static interface IngestedFilesSummary.Builder
extends SdkPojo, CopyableBuilder<IngestedFilesSummary.Builder,IngestedFilesSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondiscardedFiles(Collection<S3Object> discardedFiles) Indicates the number of files that were discarded.discardedFiles(Consumer<S3Object.Builder>... discardedFiles) Indicates the number of files that were discarded.discardedFiles(S3Object... discardedFiles) Indicates the number of files that were discarded.ingestedNumberOfFiles(Integer ingestedNumberOfFiles) Indicates the number of files that were successfully ingested.totalNumberOfFiles(Integer totalNumberOfFiles) Indicates the total number of files that were submitted for ingestion.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
-
totalNumberOfFiles
Indicates the total number of files that were submitted for ingestion.
- Parameters:
totalNumberOfFiles- Indicates the total number of files that were submitted for ingestion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestedNumberOfFiles
Indicates the number of files that were successfully ingested.
- Parameters:
ingestedNumberOfFiles- Indicates the number of files that were successfully ingested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discardedFiles
Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for example, a jpg or pdf) or not readable.
- Parameters:
discardedFiles- Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for example, a jpg or pdf) or not readable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discardedFiles
Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for example, a jpg or pdf) or not readable.
- Parameters:
discardedFiles- Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for example, a jpg or pdf) or not readable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discardedFiles
Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for example, a jpg or pdf) or not readable.
This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todiscardedFiles(List<S3Object>).- Parameters:
discardedFiles- a consumer that will call methods onS3Object.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-