public OmdbBuilder setApiKey ( final String apiKey ) throws OMDBException { if ( StringUtils . isBlank ( apiKey ) ) { throw new OMDBException ( ApiExceptionType . AUTH_FAILURE , "Must provide an ApiKey" ) ; } params . add ( Param . APIKEY , apiKey ) ; return this ; }
Set the ApiKey