private UserAuthorizationResponse getResponse(String authorizationId, String authorizationName,
                                                                     String clusterName, String resourceType, String userName) {
    return new UserAuthorizationResponse(authorizationId, authorizationName, clusterName, resourceType, userName);

  }
Returns user authorization response instance that represents the response schema
 for /users/{userName}/authorizations REST endpoint
@param authorizationId     authorization id
@param authorizationName   authorization name
@param clusterName         cluster name
@param resourceType        resource type
@param userName            user name
@return {@link UserAuthorizationResponse}
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UserAuthorizationResourceProvider.java