public void setEc2KeyName(String ec2KeyName) {
        this.ec2KeyName = ec2KeyName;
    }
<p>
The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.
</p>

@param ec2KeyName
       The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/JobFlowInstancesDetail.java