public void setMappings(java.util.Collection<PatchGroupPatchBaselineMapping> mappings) {
        if (mappings == null) {
            this.mappings = null;
            return;
        }

        this.mappings = new com.amazonaws.internal.SdkInternalList<PatchGroupPatchBaselineMapping>(mappings);
    }
<p>
Each entry in the array contains:
</p>
<ul>
<li>
<p>
<code>PatchGroup</code>: string (between 1 and 256 characters. Regex:
<code>^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)</code>
</p>
</li>
<li>
<p>
<code>PatchBaselineIdentity</code>: A <code>PatchBaselineIdentity</code> element.
</p>
</li>
</ul>

@param mappings
       Each entry in the array contains:</p>
       <ul>
       <li>
       <p>
       <code>PatchGroup</code>: string (between 1 and 256 characters. Regex:
       <code>^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)</code>
       </p>
       </li>
       <li>
       <p>
       <code>PatchBaselineIdentity</code>: A <code>PatchBaselineIdentity</code> element.
       </p>
       </li>
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/DescribePatchGroupsResult.java