public AutomationExecution withRunbooks(Runbook... runbooks) {
        if (this.runbooks == null) {
            setRunbooks(new com.amazonaws.internal.SdkInternalList<Runbook>(runbooks.length));
        }
        for (Runbook ele : runbooks) {
            this.runbooks.add(ele);
        }
        return this;
    }
<p>
Information about the Automation runbooks that are run as part of a runbook workflow.
</p>
<note>
<p>
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change
request have been received.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRunbooks(java.util.Collection)} or {@link #withRunbooks(java.util.Collection)} if you want to override
the existing values.
</p>

@param runbooks
       Information about the Automation runbooks that are run as part of a runbook workflow.</p> <note>
       <p>
       The Automation runbooks specified for the runbook workflow can't run until all required approvals for the
       change request have been received.
       </p>
@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