public String getRejectedPatchesAction() {
        return this.rejectedPatchesAction;
    }
<p>
The action for Patch Manager to take on patches included in the <code>RejectedPackages</code> list.
</p>
<ul>
<li>
<p>
<b> <code>ALLOW_AS_DEPENDENCY</code> </b>: A package in the <code>Rejected</code> patches list is installed only
if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is
reported as <code>InstalledOther</code>. This is the default action if no option is specified.
</p>
</li>
<li>
<p>
<b>BLOCK</b>: Packages in the <b>Rejected patches</b> list, and packages that include them as dependencies,
aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the
<b>Rejected patches</b> list, or is installed outside of Patch Manager afterward, it's considered noncompliant
with the patch baseline and its status is reported as <i>InstalledRejected</i>.
</p>
</li>
</ul>

@return The action for Patch Manager to take on patches included in the <code>RejectedPackages</code> list.</p>
        <ul>
        <li>
        <p>
        <b> <code>ALLOW_AS_DEPENDENCY</code> </b>: A package in the <code>Rejected</code> patches list is
        installed only if it is a dependency of another package. It is considered compliant with the patch
        baseline, and its status is reported as <code>InstalledOther</code>. This is the default action if no
        option is specified.
        </p>
        </li>
        <li>
        <p>
        <b>BLOCK</b>: Packages in the <b>Rejected patches</b> list, and packages that include them as
        dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed
        before it was added to the <b>Rejected patches</b> list, or is installed outside of Patch Manager
        afterward, it's considered noncompliant with the patch baseline and its status is reported as
        <i>InstalledRejected</i>.
        </p>
        </li>
@see PatchAction
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/CreatePatchBaselineRequest.java