code: public ServiceFuture<EnvironmentSettingInner> beginCreateOrUpdateAsync(String resourceGroupName, String labAccountName, String labName, String environmentSettingName, EnvironmentSettingInner environmentSetting, final ServiceCallback<EnvironmentSettingInner> serviceCallback) {
          return ServiceFuture.fromResponse(beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, labAccountName, labName, environmentSettingName, environmentSetting), serviceCallback);
      }
docs: Create or replace an existing Environment Setting. This operation can take a while to complete.
  
  @param resourceGroupName The name of the resource group.
  @param labAccountName The name of the lab Account.
  @param labName The name of the lab.
  @param environmentSettingName The name of the environment Setting.
  @param environmentSetting Represents settings of an environment, from which environment instances would be created
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object