code: public void setMappings(java.util.Collection<PatchGroupPatchBaselineMapping> mappings) {
          if (mappings == null) {
              this.mappings = null;
              return;
          }
  
          this.mappings = new com.amazonaws.internal.SdkInternalList<PatchGroupPatchBaselineMapping>(mappings);
      }
docs: <p>
  Each entry in the array contains:
  </p>
  <p>
  PatchGroup: string (between 1 and 256 characters, Regex: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
  </p>
  <p>
  PatchBaselineIdentity: A PatchBaselineIdentity element.
  </p>
  
  @param mappings
  Each entry in the array contains:</p>
  <p>
  PatchGroup: string (between 1 and 256 characters, Regex: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
  </p>
  <p>
  PatchBaselineIdentity: A PatchBaselineIdentity element.