public String getEc2InstanceId() {
        return this.ec2InstanceId;
    }
<p>
The unique identifier of the instance in Amazon EC2.
</p>

@return The unique identifier of the instance in Amazon EC2.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/Instance.java