Class BulkUploadResponse.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • totalSupportedRecords

        public BulkUploadResponse.Builder totalSupportedRecords​(Integer totalSupportedRecords)
        The number of license records which were supported.
        Parameters:
        totalSupportedRecords - the value to set
        Returns:
        this builder
      • totalSupportedRecordsSaved

        public BulkUploadResponse.Builder totalSupportedRecordsSaved​(Integer totalSupportedRecordsSaved)
        The number of supported license records that were uploaded successfully.
        Parameters:
        totalSupportedRecordsSaved - the value to set
        Returns:
        this builder
      • totalSupportedDuplicateRecords

        public BulkUploadResponse.Builder totalSupportedDuplicateRecords​(Integer totalSupportedDuplicateRecords)
        The number of supported license records that were valid but not uploaded since they were duplicates.
        Parameters:
        totalSupportedDuplicateRecords - the value to set
        Returns:
        this builder
      • totalSupportedFailedLicenseRecords

        public BulkUploadResponse.Builder totalSupportedFailedLicenseRecords​(Integer totalSupportedFailedLicenseRecords)
        The number of supported license records that were valid but failed with errors during upload.
        Parameters:
        totalSupportedFailedLicenseRecords - the value to set
        Returns:
        this builder
      • totalSupportedInvalidRecords

        public BulkUploadResponse.Builder totalSupportedInvalidRecords​(Integer totalSupportedInvalidRecords)
        The number of supported license records that could not be uploaded since they were invalid.
        Parameters:
        totalSupportedInvalidRecords - the value to set
        Returns:
        this builder
      • validationErrorInfo

        public BulkUploadResponse.Builder validationErrorInfo​(List<BulkUploadValidationErrorInfo> validationErrorInfo)
        Detailed error information corresponding to each supported but invalid row for the uploaded file.
        Parameters:
        validationErrorInfo - the value to set
        Returns:
        this builder
      • failedLicenseRecordInfo

        public BulkUploadResponse.Builder failedLicenseRecordInfo​(List<BulkUploadFailedRecordInfo> failedLicenseRecordInfo)
        Error information corresponding to the supported records which are valid but could not be created.
        Parameters:
        failedLicenseRecordInfo - the value to set
        Returns:
        this builder
      • message

        public BulkUploadResponse.Builder message​(String message)
        Response message for bulk upload.
        Parameters:
        message - the value to set
        Returns:
        this builder