code: public PolicySetDefinitionInner createOrUpdate(String policySetDefinitionName, PolicySetDefinitionInner parameters) {
          return createOrUpdateWithServiceResponseAsync(policySetDefinitionName, parameters).toBlocking().single().body();
      }
docs: Creates or updates a policy set definition.
  This operation creates or updates a policy set definition in the given subscription with the given name.
  
  @param policySetDefinitionName The name of the policy set definition to create.
  @param parameters The policy set definition properties.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PolicySetDefinitionInner object if successful.