code: public DescribeEffectivePatchesForPatchBaselineResult withEffectivePatches(EffectivePatch... effectivePatches) {
          if (this.effectivePatches == null) {
              setEffectivePatches(new com.amazonaws.internal.SdkInternalList<EffectivePatch>(effectivePatches.length));
          }
          for (EffectivePatch ele : effectivePatches) {
              this.effectivePatches.add(ele);
          }
          return this;
      }
docs: <p>
  An array of patches and patch status.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEffectivePatches(java.util.Collection)} or {@link #withEffectivePatches(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param effectivePatches
  An array of patches and patch status.
  @return Returns a reference to this object so that method calls can be chained together.