public DescribeIpamResourceDiscoveriesRequest withIpamResourceDiscoveryIds(String... ipamResourceDiscoveryIds) {
        if (this.ipamResourceDiscoveryIds == null) {
            setIpamResourceDiscoveryIds(new com.amazonaws.internal.SdkInternalList<String>(ipamResourceDiscoveryIds.length));
        }
        for (String ele : ipamResourceDiscoveryIds) {
            this.ipamResourceDiscoveryIds.add(ele);
        }
        return this;
    }
<p>
The IPAM resource discovery IDs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIpamResourceDiscoveryIds(java.util.Collection)} or
{@link #withIpamResourceDiscoveryIds(java.util.Collection)} if you want to override the existing values.
</p>

@param ipamResourceDiscoveryIds
       The IPAM resource discovery IDs.
@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/DescribeIpamResourceDiscoveriesRequest.java