For parallel Scan requests, TotalSegmentsrepresents the total number of segments for a table that is being scanned. Segments
            are a way to logically divide a table into equally sized portions, for the duration of the Scan request. The value of
            TotalSegments corresponds to the number of application "workers" (such as threads or processes) that will perform the parallel
            Scan. For example, if you want to scan a table using four application threads, you would specify a TotalSegments value of 4.
            The value for TotalSegments must be greater than or equal to 1, and less than or equal to 4096. If you specify a TotalSegments
            value of 1, the Scan will be sequential rather than parallel. If you specify TotalSegments, you must also specify
            Segment.
             
            
Constraints:
 Declaration Syntax
 Declaration Syntax| C# | 
public int TotalSegments { get; set; }