public JobFlowInstancesDetail withEc2SubnetId(String ec2SubnetId) {
        setEc2SubnetId(ec2SubnetId);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/JobFlowInstancesDetail.java