public DBInstance withAutomationMode(String automationMode) {
        setAutomationMode(automationMode);
        return this;
    }
<p>
The automation mode of the RDS Custom DB instance: <code>full</code> or <code>all paused</code>. If
<code>full</code>, the DB instance automates monitoring and instance recovery. If <code>all paused</code>, the
instance pauses automation for the duration set by <code>--resume-full-automation-mode-minutes</code>.
</p>

@param automationMode
       The automation mode of the RDS Custom DB instance: <code>full</code> or <code>all paused</code>. If
       <code>full</code>, the DB instance automates monitoring and instance recovery. If <code>all paused</code>,
       the instance pauses automation for the duration set by <code>--resume-full-automation-mode-minutes</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see AutomationMode
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java