private ResourceInstance createRemoteClusterResource(String clusterName) {
    return createResource(Resource.Type.RemoteCluster,Collections.singletonMap(Resource.Type.RemoteCluster, clusterName));
  }
Create a Remote Cluster resource.

@param clusterName Name of the Cluster

@return a RemoteCluster resource Instance
ambari-server/src/main/java/org/apache/ambari/server/api/services/RemoteClustersService.java