public void setScripts(java.util.Collection<Script> scripts) {
        if (scripts == null) {
            this.scripts = null;
            return;
        }

        this.scripts = new java.util.ArrayList<Script>(scripts);
    }
<p>
<b>[Custom snapshot policies that target instances only]</b> Specifies pre and/or post scripts for a snapshot
lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for
performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot
creation.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automate-app-consistent-backups.html">Automating
application-consistent snapshots with pre and post scripts</a>.
</p>

@param scripts
       <b>[Custom snapshot policies that target instances only]</b> Specifies pre and/or post scripts for a
       snapshot lifecycle policy that targets instances. This is useful for creating application-consistent
       snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager
       initiates snapshot creation.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automate-app-consistent-backups.html">Automating
       application-consistent snapshots with pre and post scripts</a>.
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/CreateRule.java