public ModifyFpgaImageAttributeRequest withUserIds(String... userIds) {
        if (this.userIds == null) {
            setUserIds(new com.amazonaws.internal.SdkInternalList<String>(userIds.length));
        }
        for (String ele : userIds) {
            this.userIds.add(ele);
        }
        return this;
    }
<p>
The Amazon Web Services account IDs. This parameter is valid only when modifying the <code>loadPermission</code>
attribute.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUserIds(java.util.Collection)} or {@link #withUserIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param userIds
       The Amazon Web Services account IDs. This parameter is valid only when modifying the
       <code>loadPermission</code> attribute.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyFpgaImageAttributeRequest.java