Add values for PromotionIds, return this.

@param promotionIds
New values to add.

@return This instance.
66
public OrderItem withPromotionIds(String... values) {
        List<String> list = getPromotionIds();
        for (String value : values) {
            list.add(value);
        }
        return this;
    }
83137
public AntiAffinityPolicyFilter id(List<String> ids) {
        checkNotNull(ids, "List of ids must be not a null");

        this.ids.addAll(ids);

        return this;
    }
803803
public HppRequest addPayerExists(boolean payerExists) {
		this.payerExists = payerExists ? Flag.TRUE.getFlag() : Flag.FALSE.getFlag();
		return this;
	}
1184462
public void setIds(java.util.Collection<String> ids) {
        if (ids == null) {
            this.ids = null;
            return;
        }

        this.ids = new java.util.ArrayList<String>(ids);
    }
1340611
public void setEc2InstanceIds(java.util.Collection<String> ec2InstanceIds) {
        if (ec2InstanceIds == null) {
            this.ec2InstanceIds = null;
            return;
        }

        this.ec2InstanceIds = new com.amazonaws.internal.SdkInternalList<String>(ec2InstanceIds);
    }
1264751
public DrawerBuilder withHasStableIds(boolean hasStableIds) {
        this.mHasStableIds = hasStableIds;
        if (mAdapter != null) {
            mAdapter.setHasStableIds(hasStableIds);
        }
        return this;
    }
358735
protected HalRepresentation add(final Links links) {
        this.links = this.links != null
                ? copyOf(this.links).with(links).build()
                : links.using(this.curies);
        if (embedded != null) {
            embedded = embedded.using(this.curies);
        }
        return this;
    }
1350174
public UpdatePullRequestParams notifiedUserIds(List<Long> notifiedUserIds) {
        for (Long notifiedUserId : notifiedUserIds) {
            parameters.add(new NameValuePair("notifiedUserId[]", notifiedUserId.toString()));
        }
        return this;

    }
957039
public void setInstanceGroupIds(java.util.Collection<String> instanceGroupIds) {
        if (instanceGroupIds == null) {
            this.instanceGroupIds = null;
            return;
        }

        this.instanceGroupIds = new com.amazonaws.internal.SdkInternalList<String>(instanceGroupIds);
    }
1022420
public void setReservedInstancesModificationIds(java.util.Collection<String> reservedInstancesModificationIds) {
        if (reservedInstancesModificationIds == null) {
            this.reservedInstancesModificationIds = null;
            return;
        }

        this.reservedInstancesModificationIds = new com.amazonaws.internal.SdkInternalList<String>(reservedInstancesModificationIds);
    }
165852
public Guid append(Guid... guids) throws IOException {
    if (guids == null || guids.length == 0) {
      return this;
    }
    return combine(ArrayUtils.add(guids, this));
  }
1075222
public void setUpdateIds(java.util.Collection<String> updateIds) {
        if (updateIds == null) {
            this.updateIds = null;
            return;
        }

        this.updateIds = new java.util.ArrayList<String>(updateIds);
    }
953042
public DoubleAdder add(final double[] values) {
		for (int i = values.length; --i >= 0;) {
			add(values[i]);
		}

		return this;
	}
1037502
public AddPullRequestCommentParams notifiedUserIds(List<Long> notifiedUserIds) {
        for (Long notifiedUserId : notifiedUserIds) {
            parameters.add(new NameValuePair("notifiedUserId[]", String.valueOf(notifiedUserId)));
        }
        return this;
    }
692495
private function promoteUrisToIds() {
        echo self::$debug ? "Promoting URIs to ids...\n" : '';
        foreach ($this->resources() as $i) {
            if (!$i->isBNode()) {
                echo self::$debug ? "\t" . $i->getUri() . "\n" : '';
                $i->addResource(RC::idProp(), $i->getUri());
            }
        }
    }
884347
public void setAppIds(java.util.Collection<String> appIds) {
        if (appIds == null) {
            this.appIds = null;
            return;
        }

        this.appIds = new java.util.ArrayList<String>(appIds);
    }
22529
function add(/* values... */) {
  var self = this

  self.values.push.apply(self.values, arguments)

  return self
}