public StartMetadataModelExportAsScriptRequest withOrigin(String origin) {
        setOrigin(origin);
        return this;
    }
<p>
Whether to export the metadata model from the source or the target.
</p>

@param origin
       Whether to export the metadata model from the source or the target.
@return Returns a reference to this object so that method calls can be chained together.
@see OriginTypeValue
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/StartMetadataModelExportAsScriptRequest.java