public static ResourceIdentifier from(final String endpoint,final String tenantId,final String resourceId){
  Objects.requireNonNull(endpoint);
  Objects.requireNonNull(tenantId);
  return new ResourceIdentifier(endpoint,tenantId,resourceId);
}

public static ResourceIdentifier from ( final String endpoint , final String tenantId , final String resourceId ) { Objects . requireNonNull ( endpoint ) ; Objects . requireNonNull ( tenantId ) ; return new ResourceIdentifier ( endpoint , tenantId , resourceId ) ; }
creates a resource identifier from endpoint , tenantid and optionally resourceid .
