code: public Observable<TrustedIdProviderInner> createOrUpdateAsync(String resourceGroupName, String accountName, String trustedIdProviderName, CreateOrUpdateTrustedIdProviderParameters parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, accountName, trustedIdProviderName, parameters).map(new Func1<ServiceResponse<TrustedIdProviderInner>, TrustedIdProviderInner>() {
              @Override
              public TrustedIdProviderInner call(ServiceResponse<TrustedIdProviderInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.
  
  @param resourceGroupName The name of the Azure resource group.
  @param accountName The name of the Data Lake Store account.
  @param trustedIdProviderName The name of the trusted identity provider. This is used for differentiation of providers in the account.
  @param parameters Parameters supplied to create or replace the trusted identity provider.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the TrustedIdProviderInner object