public OfferingTransaction withCost(MonetaryAmount cost) {
        setCost(cost);
        return this;
    }
<p>
The cost of an offering transaction.
</p>

@param cost
       The cost of an offering transaction.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/OfferingTransaction.java