code: public ProtectionIntentResourceInner createOrUpdate(String vaultName, String resourceGroupName, String fabricName, String intentObjectName, ProtectionIntentResourceInner parameters) {
          return createOrUpdateWithServiceResponseAsync(vaultName, resourceGroupName, fabricName, intentObjectName, parameters).toBlocking().single().body();
      }
docs: Create Intent for Enabling backup of an item. This is a synchronous operation.
  
  @param vaultName The name of the recovery services vault.
  @param resourceGroupName The name of the resource group where the recovery services vault is present.
  @param fabricName Fabric name associated with the backup item.
  @param intentObjectName Intent object name.
  @param parameters resource backed up item
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the ProtectionIntentResourceInner object if successful.