@ JsonProperty ( "duration" ) public Long getDuration ( ) { if ( start != null && end != null ) { return start . until ( end , ChronoUnit . MILLIS ) ; } else { return null ; } }
Returns the duration of the deployment .