public AutomationExecution withDocumentVersion(String documentVersion) {
        setDocumentVersion(documentVersion);
        return this;
    }
<p>
The version of the document to use during execution.
</p>

@param documentVersion
       The version of the document to use during execution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/AutomationExecution.java