public static Builder name ( String name ) { if ( name == null || name . trim ( ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "Name should be defined." ) ; } return new Builder ( name ) ; }
Create new datapoint builder for metric s name .