public AutomationExecution withDocumentName(String documentName) {
        setDocumentName(documentName);
        return this;
    }
<p>
The name of the Automation runbook used during the execution.
</p>

@param documentName
       The name of the Automation runbook used during the 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