public Instance withMarket(String market) {
        setMarket(market);
        return this;
    }
<p>
The instance purchasing option. Valid values are <code>ON_DEMAND</code> or <code>SPOT</code>.
</p>

@param market
       The instance purchasing option. Valid values are <code>ON_DEMAND</code> or <code>SPOT</code>.
@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/Instance.java