code: public void setInstancePatchStates(java.util.Collection<InstancePatchState> instancePatchStates) {
          if (instancePatchStates == null) {
              this.instancePatchStates = null;
              return;
          }
  
          this.instancePatchStates = new com.amazonaws.internal.SdkInternalList<InstancePatchState>(instancePatchStates);
      }
docs: <p>
  The high-level patch state for the requested instances.
  </p>
  
  @param instancePatchStates
  The high-level patch state for the requested instances.