public static class BulkUploadResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BulkUploadResponse |
build() |
BulkUploadResponse.Builder |
copy(BulkUploadResponse model) |
BulkUploadResponse.Builder |
failedLicenseRecordInfo(List<BulkUploadFailedRecordInfo> failedLicenseRecordInfo)
Error information corresponding to the supported records which are valid but could not be
created.
|
BulkUploadResponse.Builder |
message(String message)
Response message for bulk upload.
|
BulkUploadResponse.Builder |
totalSupportedDuplicateRecords(Integer totalSupportedDuplicateRecords)
The number of supported license records that were valid but not uploaded since they were
duplicates.
|
BulkUploadResponse.Builder |
totalSupportedFailedLicenseRecords(Integer totalSupportedFailedLicenseRecords)
The number of supported license records that were valid but failed with errors during
upload.
|
BulkUploadResponse.Builder |
totalSupportedInvalidRecords(Integer totalSupportedInvalidRecords)
The number of supported license records that could not be uploaded since they were
invalid.
|
BulkUploadResponse.Builder |
totalSupportedRecords(Integer totalSupportedRecords)
The number of license records which were supported.
|
BulkUploadResponse.Builder |
totalSupportedRecordsSaved(Integer totalSupportedRecordsSaved)
The number of supported license records that were uploaded successfully.
|
BulkUploadResponse.Builder |
validationErrorInfo(List<BulkUploadValidationErrorInfo> validationErrorInfo)
Detailed error information corresponding to each supported but invalid row for the
uploaded file.
|
public BulkUploadResponse.Builder totalSupportedRecords(Integer totalSupportedRecords)
The number of license records which were supported.
totalSupportedRecords
- the value to setpublic BulkUploadResponse.Builder totalSupportedRecordsSaved(Integer totalSupportedRecordsSaved)
The number of supported license records that were uploaded successfully.
totalSupportedRecordsSaved
- the value to setpublic BulkUploadResponse.Builder totalSupportedDuplicateRecords(Integer totalSupportedDuplicateRecords)
The number of supported license records that were valid but not uploaded since they were duplicates.
totalSupportedDuplicateRecords
- the value to setpublic BulkUploadResponse.Builder totalSupportedFailedLicenseRecords(Integer totalSupportedFailedLicenseRecords)
The number of supported license records that were valid but failed with errors during upload.
totalSupportedFailedLicenseRecords
- the value to setpublic BulkUploadResponse.Builder totalSupportedInvalidRecords(Integer totalSupportedInvalidRecords)
The number of supported license records that could not be uploaded since they were invalid.
totalSupportedInvalidRecords
- the value to setpublic BulkUploadResponse.Builder validationErrorInfo(List<BulkUploadValidationErrorInfo> validationErrorInfo)
Detailed error information corresponding to each supported but invalid row for the uploaded file.
validationErrorInfo
- the value to setpublic BulkUploadResponse.Builder failedLicenseRecordInfo(List<BulkUploadFailedRecordInfo> failedLicenseRecordInfo)
Error information corresponding to the supported records which are valid but could not be created.
failedLicenseRecordInfo
- the value to setpublic BulkUploadResponse.Builder message(String message)
Response message for bulk upload.
message
- the value to setpublic BulkUploadResponse build()
public BulkUploadResponse.Builder copy(BulkUploadResponse model)
Copyright © 2016–2024. All rights reserved.