public void setEc2SubnetId(String ec2SubnetId) {
        this.ec2SubnetId = ec2SubnetId;
    }
<p>
For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster
was launched.
</p>

@param ec2SubnetId
       For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the
       cluster was launched.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/JobFlowInstancesDetail.java