public DocumentItem withVersion(String version) {
        setVersion(version);
        return this;
    }
<p>
Version of standard contracts provided by AWS Marketplace. Required when Type is <code>StandardEula</code> or
<code>StandardDsa</code>.
</p>

@param version
       Version of standard contracts provided by AWS Marketplace. Required when Type is <code>StandardEula</code>
       or <code>StandardDsa</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-marketplaceagreement/src/main/java/com/amazonaws/services/marketplaceagreement/model/DocumentItem.java