public void setDuration(String duration) {
        this.duration = duration;
    }
<p>
Contract duration for the terms.
</p>

@param duration
       Contract duration for the terms.
aws-java-sdk-marketplaceagreement/src/main/java/com/amazonaws/services/marketplaceagreement/model/FixedUpfrontPricingTerm.java