public DescribeIpamResourceDiscoveryAssociationsResult withIpamResourceDiscoveryAssociations(
            java.util.Collection<IpamResourceDiscoveryAssociation> ipamResourceDiscoveryAssociations) {
        setIpamResourceDiscoveryAssociations(ipamResourceDiscoveryAssociations);
        return this;
    }
<p>
The resource discovery associations.
</p>

@param ipamResourceDiscoveryAssociations
       The resource discovery associations.
@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/DescribeIpamResourceDiscoveryAssociationsResult.java