public CreatePatchBaselineRequest withApprovedPatches(java.util.Collection<String> approvedPatches) {
        setApprovedPatches(approvedPatches);
        return this;
    }
<p>
A list of explicitly approved patches for the baseline.
</p>
<p>
For information about accepted formats for lists of approved patches and rejected patches, see <a href=
"https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html"
>About package name formats for approved and rejected patch lists</a> in the <i>Amazon Web Services Systems
Manager User Guide</i>.
</p>

@param approvedPatches
       A list of explicitly approved patches for the baseline.</p>
       <p>
       For information about accepted formats for lists of approved patches and rejected patches, see <a href=
       "https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html"
       >About package name formats for approved and rejected patch lists</a> in the <i>Amazon Web Services
       Systems Manager User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/CreatePatchBaselineRequest.java