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

@param ipamResourceDiscoveryAssociationIds
       The resource discovery association 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/DescribeIpamResourceDiscoveryAssociationsRequest.java