public UpdatePod build ( ) { if ( getServers ( ) == null ) { int count = Math . max ( _primaryServerCount , _depth ) ; if ( _type == PodType . off ) { count = 0 ; } _servers = buildServers ( count ) ; } Objects . requireNonNull ( getServers ( ) ) ; /* if (getServers().length < _primaryServerCount) { throw new IllegalStateException(); } */ return new UpdatePod ( this ) ; }
Builds the configured pod .