RedisClient client = new RedisClient("mycachecluster.b4ujee.0001.usw2.cache.amazonaws.com", 6379)
The EC2 host/user and the PEM file are not relevant when connecting to an ElastiCache cluster. Be sure to use only RedisClient, not RedisClusterClient. The ElastiCache has its own magic and does not require cluster-support from the client perspective, at least not in the Redis-Cluster fashion.
Tip: Try and error, go and try yourself things out, that's the best way to learn :)
Tip 2: Get familiar with the different AWS services and the programming language, you're using.
HTH, Mark