public Counter build ( ) { return new Counter ( this . getName ( ) , this . getDescription ( ) , this . getNumShards ( ) , this . getCounterStatus ( ) , this . getCount ( ) , this . getIndexes ( ) , this . getCreationDateTime ( ) ) ; }
Build method for constructing a new Counter .