public RelationalDatabaseParameter withApplyMethod(String applyMethod) {
        setApplyMethod(applyMethod);
        return this;
    }
<p>
Indicates when parameter updates are applied.
</p>
<p>
Can be <code>immediate</code> or <code>pending-reboot</code>.
</p>

@param applyMethod
       Indicates when parameter updates are applied.</p>
       <p>
       Can be <code>immediate</code> or <code>pending-reboot</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/RelationalDatabaseParameter.java