public PagedList<DetectorDefinitionInner> listSiteDetectorsSlotNext(final String nextPageLink) {
        ServiceResponse<Page<DetectorDefinitionInner>> response = listSiteDetectorsSlotNextSinglePageAsync(nextPageLink).toBlocking().single();
        return new PagedList<DetectorDefinitionInner>(response.body()) {
            @Override
            public Page<DetectorDefinitionInner> nextPage(String nextPageLink) {
                return listSiteDetectorsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body();
            }
        };
    }
public PagedList < DetectorDefinitionInner > listSiteDetectorsSlotNext ( final String nextPageLink ) { ServiceResponse < Page < DetectorDefinitionInner > > response = listSiteDetectorsSlotNextSinglePageAsync ( nextPageLink ) . toBlocking ( ) . single ( ) ; return new PagedList < DetectorDefinitionInner > ( response . body ( ) ) { @ Override public Page < DetectorDefinitionInner > nextPage ( String nextPageLink ) { return listSiteDetectorsSlotNextSinglePageAsync ( nextPageLink ) . toBlocking ( ) . single ( ) . body ( ) ; } } ; }
Get Detectors.
Get Detectors.

@param nextPageLink The NextLink from the previous successful call to List operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws DefaultErrorResponseException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the PagedList&lt;DetectorDefinitionInner&gt; object if successful.