public InstanceGroupDetail withMarket(String market) {
        setMarket(market);
        return this;
    }
<p>
Market type of the Amazon EC2 instances used to create a cluster node.
</p>

@param market
       Market type of the Amazon EC2 instances used to create a cluster node.
@return Returns a reference to this object so that method calls can be chained together.
@see MarketType
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/InstanceGroupDetail.java