public Observable<Map<String, String>> listEndpointsAsync(UUID appId) {
        return listEndpointsWithServiceResponseAsync(appId).map(new Func1<ServiceResponse<Map<String, String>>, Map<String, String>>() {
            @Override
            public Map<String, String> call(ServiceResponse<Map<String, String>> response) {
                return response.body();
            }
        });
    }
public Observable < Map < String , String > > listEndpointsAsync ( UUID appId ) { return listEndpointsWithServiceResponseAsync ( appId ) . map ( new Func1 < ServiceResponse < Map < String , String > > , Map < String , String > > ( ) { @ Override public Map < String , String > call ( ServiceResponse < Map < String , String > > response ) { return response . body ( ) ; } } ) ; }
Returns the available endpoint deployment regions and URLs.

@param appId The application ID.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the Map&lt;String, String&gt; object