public GetPatchBaselineResult withRejectedPatchesAction(PatchAction rejectedPatchesAction) {
        this.rejectedPatchesAction = rejectedPatchesAction.toString();
        return this;
    }
<p>
The action specified to take on patches included in the <code>RejectedPatches</code> list. A patch can be allowed
only if it is a dependency of another package, or blocked entirely along with packages that include it as a
dependency.
</p>

@param rejectedPatchesAction
       The action specified to take on patches included in the <code>RejectedPatches</code> list. A patch can be
       allowed only if it is a dependency of another package, or blocked entirely along with packages that
       include it as a dependency.
@return Returns a reference to this object so that method calls can be chained together.
@see PatchAction
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/GetPatchBaselineResult.java