public Observable < ServiceResponse < Page < CertificateItem > > > getCertificatesSinglePageAsync ( final String vaultBaseUrl , final Integer maxresults ) { if ( vaultBaseUrl == null ) { throw new IllegalArgumentException ( "Parameter vaultBaseUrl is required and cannot be null." ) ; } if ( this . apiVersion ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.apiVersion() is required and cannot be null." ) ; } String parameterizedHost = Joiner . on ( ", " ) . join ( "{vaultBaseUrl}" , vaultBaseUrl ) ; return service . getCertificates ( maxresults , this . apiVersion ( ) , this . acceptLanguage ( ) , parameterizedHost , this . userAgent ( ) ) . flatMap ( new Func1 < Response < ResponseBody > , Observable < ServiceResponse < Page < CertificateItem > > > > ( ) { @ Override public Observable < ServiceResponse < Page < CertificateItem > > > call ( Response < ResponseBody > response ) { try { ServiceResponse < PageImpl < CertificateItem >> result = getCertificatesDelegate ( response ) ; return Observable . just ( new ServiceResponse < Page < CertificateItem > > ( result . body ( ) , result . response ( ) ) ) ; } catch ( Throwable t ) { return Observable . error ( t ) ; } } } ) ; }
List certificates in a specified key vault .