public InstanceGroup withMarket(String market) {
        setMarket(market);
        return this;
    }
<p>
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
</p>

@param market
       The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
@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/InstanceGroup.java